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

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

Projects and Frameworks

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :ASP.Net
Hi After copying a .NET 4 web-project  in a empy folder I opened it in VS 2010.Displaying the property page the Target Framework is .NET 3.5 Since the web.config is configured for .NET 4 I asked myself why VS 2010 classifies the project as 3.5 Thanks for a hint. Patrick

View Complete Post

More Related Resource Links

WPF: If Heineken did MVVM Frameworks Part 4

MVVM is to have an instance of a particular Model (say currentPerson) inside my ViewModel (say PeopleViewModel) which is exposed to the View (say PeopleView). The View binds and edits the Model directly.

This definitely flies in the face of what most people consider to be the holy grail of MVVM pattern, but it's a fairly new pattern, so people are still finding their way with it every day, and this works for me very well. The reason I do what I do, is for the following reasons:

1.I have always had the luxury of being able to write my own UI specific Model classes. I would even do this if I was using some other Model classes first, such as LINQ to SQL or LINQ to Entity Framework. As these classes don't have everything a proper WPF Model class needs in my humble opinion. Though, they are pretty good, as they are Partial classes and use INotifyPropertyChanged/DataContract etc etc
2.I am a pragmatist and I do not like writing code for the sake of writing code. I have seen some MVVM apps where the author has had a Model with 50 properties on it, that are simply repeated in the ViewModel abstraction, where the ViewModel added nothing. On that day I decided I would never do that unless I have to.
3.I honestly see no harm in writing directly to the Model from the View, JUST SO LONG AS if the Model is InValid its data NEVER makes its way to the database. I honestly see no pro

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

Web Deployment Projects (WDP) arabic character



I built web project using asp.net & c# in VS2005 and i use arabic label in my project and every think working good when i run my application. but when i use WDP to make msi file All arabic letter come like ?????. 


Concurrent Affairs: Four Ways to Use the Concurrency Runtime in Your C++ Projects


This article describes how to integrate the new parallel computing libraries in the Visual Studio 2010 Beta into existing C++ projects. Based on four common scenarios, the column explains a few of the ways developers can use the APIs and classes that are part of the Parallel Pattern Library (PPL), Asynchronous Agents Library, and Concurrency Runtime.

Rick Molloy

MSDN Magazine October 2009

Team System: Streamline Team Projects With Process Templates


See how you can streamline your team projects using Process Templates in Visual Studio Team System (VSTS)

Brian A. Randell

MSDN Magazine December 2008

Unit Testing: Apply Test-Driven Development to your Database Projects


Jamie Laflen extols the benefits of TDD when applied to database development-and supplies some useful techniques along the way.

Jamie Laflen

MSDN Magazine Launch 2008

Extreme ASP.NET: Web Deployment Projects


ASP.NET 2.0 development is the easiest ASP development yet. Fritz Onion reveals why.

Fritz Onion

MSDN Magazine April 2007

Visual Basic: Navigate The .NET Framework And Your Projects With The My Namespace


The My Namespace is best described as a speed-dial for the .NET Framework. It provides an intuitive navigation hierarchy that exposes existing .NET functionality through easily understood root objects. Here Duncan Mackenzie explains it all.

Duncan Mackenzie

MSDN Magazine Visual Studio 2005 Guided Tour 2006

Visual Basic: Navigate the .NET Framework and Your Projects with "My"


The next version of Visual Basic, Visual Basic 2005, will include some powerful new features. One of the most interesting is the My language extensions: My.Application, My.Computer, My.Forms, My.Resources, My.Settings, My.User, and My.WebServices. The My language extensions take the idea of helper functions to a whole new level because they include so much functionality out of the box. Called "a speed-dial for the .NET Framework" by the author, the My extensions are a feature you won't want to overlook.

Duncan Mackenzie

MSDN Magazine May 2004

ClickOnce: Deploy and Update Your Smart Client Projects Using a Central Server


ClickOnce is a new deployment technology that allows users to download and execute Windows-based client applications over the Web, a network share, or from a local disk. Users get the rich interactive and stateful experience of Windows Forms, but still have the ease of deployment and updates available to Web applications. ClickOnce applications can be run offline and support a variety of automatic and manual update scenarios.Learn all about it here.

Brian Noyes

MSDN Magazine May 2004

C# In-Depth: Harness the Features of C# to Power Your Scientific Computing Projects


The C# language has been used quite successfully in many kinds of projects, including Web, database, GUI, and more. One of the last frontiers for the application of C# code may well be scientific computing. But can C# measure up to the likes of FORTRAN and C++ for scientific and mathematical projects?In this article, the author answers that question by looking at the .NET common language runtime to determine how the JIT compiler, Microsoft intermediate language, and the garbage collector affect performance. He also considers C# data types, including arrays and matrices, along with other language features that play an important role in scientific computing applications.

Fahad Gilani

MSDN Magazine March 2004

XSLT: Simplify Development and Maintenance of Microsoft .NET Projects with Code Generation Technique


Code generation techniques using technologies such as XSLT are playing an increasingly important part in software projects as they support the development of a rapidly maintainable code base. This article discusses some of the benefits and possible applications of code generation.To demonstrate these techniques the author develops a Web Forms application that supports the maintenance of records in a SQL Server database, using the database's own metadata to drive the generation process. The SQL Server database schema is extracted using SQLXML 3.0 data access and processed through XSLT stylesheets that generate both a database access layer and a Web Forms user interface with query and update pages.

Peter Ashley

MSDN Magazine August 2003

Virtual Source Code Control Systems: Promoting and Managing Projects using Visual SourceSafe


Source code control systems like Microsoft Visual SourceSafe can simplify just about any development project, and make it easier for your code to move safely among individual programmers, development teams, and project stages. Visual SourceSafe provides an object model that you can use as the basis of your own customized source code control environment. To give you an idea of what is possible, we'll walk you through the elements of a browser-based source code control system built with Visual SourceSafe, ASP, and VBScript. This simple system lets members of your team build, label, and promote individual files or entire projects, and to reverse promotions.

Ken Ramirez

MSDN Magazine May 2000

Web Deployment Projects wont split dll's



When i try to build my Web Application project using the Web Deployment Projects the dll's aren't splitting into seperate asemblys as i have set it to.

My output look like this:

------ Build started: Project: ClassLib, Configuration: Release Any CPU ------
ClassLib -> C:\Users\Heu\Desktop\SBCms_Release_1_0\ClassLib\bin\Release\ClassLib.dll
------ Skipped Build: Project: SBCms Website, Configuration: Release Any CPU ------
Project not selected to build for this solution configuration
------ Build started: Project: SBCms Website.vbproj_deploy, Configuration: Release Any CPU ------
if exist ".\TempBuildDir\" rd /s /q ".\TempBuildDir\"
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v "/SBCms Website.vbproj" -p "C:\Users\Heu\Desktop\SBCms_Release_1_0\SBCms Website" -u -f .\TempBuildDir\
Running aspnet_merge.exe.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\aspnet_merge.exe .\TempBuildDir -prefix test_ -a -copyattrs
aspnet_merge : warning 1013: Cannot find any assemblies that can be merged in the application bin folder.
Successfully merged '.\TempBuildDir'.
if exist "C:\Users\Heu\Desktop\SBCms_Release_1_0\SBCms Website.vbproj_deploy\Release\" rd /s /q "C:\Users\Heu\Desktop\SBCms_Relea

Cannot Install Any .NET Frameworks

Hey,  I've been trying to install any version of .net framework on and off for about a year now, but never really spent much time on it as it wasn't imperative. Now though, I need at least .NET Framework version 3.5 for a program I want to run, and I cannot get this to install. I have a moderately new PC running Windows Vista Home Premium Service Pack 1 64 bit. I have an Intel Core 2 Duo CPU and 4GB of RAM. I've had trouble installing some other programs, such as Python, because of Windows Installer Errors. But apart from them my computer runs pretty well. I cannot remember whether .NET Framework ran when the PC was new but I also can't remember having problems with it. I remember the first time I tried installing a .NET Framework I got error code 1603 and was told to uninstall and  reinstall all versions of .NET Framework, I looked in Programs and Features but found none. I then tried the .NET Framework Automatic Cleanup Tool but still could not install. Now, I checked programs and features found none then ran the cleanup tool before I tried installing .NET Framework 3.5 from Microsoft but I still got this error log:   [08/22/10,18:26:29] Microsoft .NET Framework 3.5 (x64) 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) 'package'. MSI returned error code 1603 [08/22/10,18:27:10] WapUI: [2] DepCheck indi

VS2010: Upgrading projects from VS2008

I just upgraded my VS2008 solution to VS2010 and have run into a problem. I have a .NET C# application that references a managed C++ DLL, which in turn links to a native static library. All this works just fine. However, whenever I attempt to run the C# application, Visual Studio claims that the native static library is out of date and must be recompiled. It does that even after I've just compiled the native library. When allowing VS2010 to build the native project, the only thing it does is this: 1>  LibraryName.vcxproj -> C:\Bleh\Blah\LibraryName.lib Is there a way I can figure out what's causing VS2010 to think the project is out of date?

How to manage integration projects?

Hi guys, what's up?We need to integrate our application with some client's apps, and all this integration will happen through WebServices. We will have to instatiate different classes depending for wich client the release will go. The thing is, I don't know how other companies do that, we were thinking about some dynamic assembly loading for code readability or manage this through pre-processor directives. What do you suggest?
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