.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

is the overarchitecting of a solution a major problem in the development world today.

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :ASP.Net
Hello all,I have been on this project for a while and wanted to get your thoughts.I have been working on a Sharepoint solution for a while to create a ASP .Net feature in Visual Studio. Now this is your standard CRUD application that queries data, displays data, updates data etc.As I am proceeding to code in this the original developer has used quite a few patterns MVP, observer, commands, repository and a couple of others. Being that this is Sharepoint developement and integration with Sharepoint is not good at all, I am finding that to much time is spent managing facets of the patterns rather than actually finishing the app. Another point is that debugging a Sharepont app with VS2008 is a pain because I have to redeploy the app everytime to make sure my changes worked.My chief concern is that its taking me going through about5 hours, 8 different objects having to redeploy the app to sharepoint over 10 times to test my code just to populate a couple of grids and comboboxes. It just seems more efficient use of my time program this app just seperating out my data access and business logic layers and calling the them from my code behind in my ASP .Net pages. It just seemed like he used the patterns just to use them without understanding why they are needed or a patterns proper place in an app..What do you guys think?

View Complete Post

More Related Resource Links

Office Development: OBA Solution Patterns In The Real World


OBA solution patterns help architects and developers build Office Business Applications (OBAs). This article introduces the seven core OBA solution patterns and applies one to a real-world problem.

Steve Fox

MSDN Magazine March 2008

Extreme ASP.NET: A New Solution to an Old State Storage Problem


State management in Web applications is a contentious issue. Should you store user data per session or should you persist it across sessions? You can easily store information temporarily while someone navigates your site by using session state.

Fritz Onion

MSDN Magazine April 2006

Data Mining solution - SSRS Problem

I have created a Data Mining - Time Series solution and I am getting proper results from SSAS(Mining Model prediction tab) & SQL Management Studio query. However when I try to create an report using SSRS, In the field where I am expecting the predicted value, I am getting "#Error" Any suggestions as why this is happening.

Who can come up with a good SSIS solution to this problem?

Test your SSIS optimization skills on this problem: http://ask.sqlservercentral.com/questions/17499/phil-factor-speed-phreak-challenge-6-the-stock-exchange-order-book-state-problem Johan Åhlén http://blogical.se/blogs/jahlen  

ResGen.exe: Problem when compiling solution appears out of nowhere

  Hi guys!   I have a weird problem with my solution (or perhaps my machine?). When I try to compile my solution with embedded resources (two .docx documents), I receive the following error german error message: Die angegebene ausführbare Datei der Aufgabe "ResGen.exe" konnte nicht ausgeführt werden. Zugriff verweigert    my english translation: The executable file for the task "ResGen.exe" cannot be executed. Access denied. I have no idea, how to resolve this error. Does anyone have a clue? Regards, Florian P.S.: @moderators: I hope, I've posted in the right forum; if not, feel free to move this thread in the proper place.

Solution Deployment Problem (Administrative Framework Object Dependencies)

I'm having a problem with the deployment of a SharePoint workflow solution - hopefully someone can help me out.Here is the sequence of STSADM commands and their output from the console:C:\Workflows>stsadm -o deactivatefeature -name IL.SharePoint.Workflows -url http://localhost/ -forceOperation completed successfully.C:\Workflows>stsadm -o uninstallfeature -name IL.SharePoint.Workflows -forceOperation completed successfully.C:\Workflows>stsadm -o retractsolution -name IL.SharePoint.Workflows.wsp -localDeploymentSucceeded : server : The solution was successfully deployed.il.sharepoint.workflows.wsp: Operation completed with errors.C:\Workflows>stsadm -o deletesolution -name IL.SharePoint.Workflows.wspOperation completed successfully.C:\Workflows>stsadm -o addsolution -filename IL.SharePoint.Workflows.wspAn object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=il.sharepoint.workflows.wsp", depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation.IL.SharePoint.Workflows.wsp: The Solution installation failed.Here is the related log info from the SharePoint logs:error-redacted.txtAs far as I can see, SP is attempting to insert a "SPSolutionLanguagePack" object into the configuration database, with an invalid foreign key reference

DetailsView Get Values on Insert. Major Problem :(



I'm having a problem to get the inserted values from the detailsview. I've tried the following things:

           // Get Value from DropDown
        int TopicID = 0;
        foreach (DetailsViewRow row in ItemsDetailsView.Rows)
            if (row.Cells[0].Text == "Topic")
                 DropDownList TopicDropDown = (DropDownList)row.Cells[1].FindControl("Topic_TopicIDList");
                 TopicID = int.Parse(TopicDropDown.SelectedValue.ToString());


            MsgBox(CType(DetailsView1.Rows(1).Cells(0).Controls(0), Label))

            For Each row As DetailsViewRow In DetailsView1.Rows

                Dim cell1 As TableCell = row.Cells(1)

                Dim value1 As String

                value1 = cell1.Text



            Dim item As New DetailsViewItem(col.ColumnName, row(index).ToString(), col.DataType.ToString(), col.DefaultValue)


            tb = DetailsView1.FindControl("Categorie")
            s = tb.Text


            For Each dvr As DetailsViewRow In DetailsView1.Rows
                If dvr.Cells.Count = 2 Th

A solution for the Sys.Webforms.PageRequestManagerServerErrorException problem


I was receiving the Sys.Webforms.PageRequestManagerServerErrorException error with an ASP.NET AJAX project I was working on.  I searched the Forums and other sources and found some common recommendations, but none worked.  Here's a summary of the cause and solution:

1) The web.config had the customErrors tag mode="RemoteOnly" and a custom Error page.  This caused the exception to happen with server deployments, but not show itself with local development environments.

2) The custom Error page causes the Response to AJAX Request to be altered and therefore causing the PageRequestManagerServerErrorException

3) Setting the AllowCustomErrorsRedirect="false" on the ScriptManager prevents the custom Error page from being used with AJAX Requests - http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.allowcustomerrorsredirect.aspx.

4) Define an OnAsyncPostBackError event handler on the ScriptManager to handle exceptions and set the OnAsyncPostBackErrorMessage to a user friendly error message the can be displayed to the user - http://msdn.microsoft.com/en-us/library/system.web.ui

Intellisense problem in VS8 development


In brief:

I use code behind - in a separate file. I've just upgraded from VS2005 to VS2008.  #


In an aspx file I have (for example)

<asp:Label ID="Label1" runat="server" Text="Course Search: " Width="100px"></asp:Label>

However, in the code behind aspx.vb, when I type:

Label1 then press '.'

I don't get intellisense automatically pop up the members and methods.  

I've done the reset of the intellisense in Options > Text Editor but that didn't fix it.

Can anyone help....



Problem with <%=Request.ApplicationPath %> and VS2010 development server


I have a portal application that's based on the old MS Portal sample application. I moved the existing app from one of my development machines to a new development machine and upgraded it to .NET4.

Now I'm having issues with <%=Request.ApplicationPath %> on IIS 7.5 and Windows 7 using the VS2010 development server. Instead of resolving the URL to the root instead it's resolving to simply "/".

So, for example, in source view I see the following:

<td class="SiteLink" valign="middle" align="right" background="//images/lightorangegradient.gif"

I've tried a couple of fixes including:background="<%=

WF solution to my problem


I'm new to Work Flow. I'm trying to find whether WF provides a solution to my problem.

I'm working on a solution for a refund process. The customer calls the call center. The agent looks at the customer's record and issue a refund - if the amount is less than $5. The customer can't give a refund over $5, so he can only make a request to the supervisor. The supervisor can approve or reject his request. The agent calls the supervisor to his cubicle. The supervisor enters his secret code and approves the request. Also the agent can't give more than he is allotted for a day like $25. In that case also, the supervisor has to approve the agent's request.

The agent uses a web based application. This front-end application calls a WCF service hosted in a different office. The service can respond to the front-end status like (1) timed out (2) rejected (3) approved (4) investigation. The service gives a status of 'investigation' because there are some steps that the customer has to follow has not completed - like the office has not received the mail-in rebate form.

Now to the solution. I have to bring some efficiency in the communication between the agent and the supervisor. The supervisor does not have to run to each agent to approve the request. Secondly the 'timed out' and 'investigated' requests need to be processed in 24 hours time again and n

Problem for Native App Development for SQL Server 3.5 Compact with VS2005



I want to develop a Native Visual C++ application that monitors several sensors and logs the data captured. I am using a x86 platform with WinCE6.0 R3.

For storing the data I want to use SQL Server Compact 3.5 and wanted to know how to use it from VS2005. I have downloaded and installed the SQL Server Compact 3.5 SP2 for Devices.

How can include the SQL functionality in my current project from VS2005. I am developing a native application.

I found similar queries and answers, but what is explained is relevant for Managed application development.


For Native application development, where can I get the relevant header files for SQL 3.5 CE(sqlce_sync.h, sqlce_err.h, and sqlce_oledb.h), and any libraries(if any required) as indicated in:


I do not get the %ProgramFiles%\Microsoft SQL Server Compact Edition\v3.5\Include on extracting the "SQL Server 3.5 Compact for Devices" on my PC.

With regards


Code Optimized Web Development Profile (VS 2010 and .NET 4.0 Series)

When you first run VS 2010 it prompts you to select an IDE profile to use. The profile you select will configure how tool windows are displayed/docked in the IDE by default and set the default keyboard shortcuts. You can then customize any of these settings by using the Tools->Options menu within the IDE and then override/change them. You can also later reset your profile and pick a different one by choosing the Tools->Import and Export Settings menu command.

Complete SQL Solution

SQL Server Solutions: SQL Server 2000/2005 Related Free Snippets.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Hello World to C# Threading Part 1

In this post we will see how we can implement simple threading. Why do we need threading? When you want you application to do more then one thing at same time, then you need to implement threading. One usual and common scenario would be when your application needs to get data from some other resource like web services and you don't want you application GUI to be freeze during this time. In that sort of case you will run the code to access web services in separate thread so your application GUI won't freeze. The System.Threading namespace .NET provide interfaces to implement multi threading.

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend