- Dev Blogs
- .NET Blog
No trial. No credit card required. Just your GitHub account.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts
Announcing .NET 9
Announcing the release of .NET 9, the most productive, modern, secure, intelligent, and performant release of .NET yet. With updates across ASP.NET Core, C#, .N...
Latest posts
How to package .NET assemblies
If we want to package and deploy GACed dll, we need to use gacAssembly web deploy provider and extend our project similarly to the one stated in the how to package registry blog. The extended projectName.wpp.targets file looks like following: Then you can use the following command line to package the project with corresponding Mvc GACs and 4.0 version of System.Web.Routing and System.Web.Abstractions. msbuild WebApplication2.csproj /target:package /p:IncludeGacAssemblyForMyProject=True;MyGacAssemblies="System.Web.Mvc;System.Web.Routing,Version=4.0.0.0;System.Web.Abstractions,Version=4.0.0...
Workaround: Missing Declarations for Controls in Designer File
We have seen some customers report the issue that certain controls are not getting generated correctly in the designer file in Visual Studio 2010 RC for the ASP.Net Web Application Projects. We are currently working on a fix for this issue for the final RTM release. Workaround: You can work-around this issue by declaring the missing controls in the code behind file for the ASPX page. Example: When you add a Button control with ID as “Button1” to the aspx page normally you should see the following code be generated in the designer file for this control. VB: Protected WithEvents Button1 As Global.System.Web.UI.We...
Announcing a new CLR Team Codeplex Project: CLR Runtime Activation
This Codeplex site will feature demos, samples, and helper libraries related to the selection and activation of the CLR: http://clractivation.codeplex.com/With .Net Framework 4 and VS 2010 the new ability to load multiple versions of the runtime has changed the way a version is chosen for any particular piece of managed code and gives developers much more control over the runtime their code will end up running against. For a detailed introduction to this new functionality you can see this MSDN magazine article. This CodePlex project will focus on the various ways to start up the runtime and how to influence these...
Free Sandbox Hosting for Visual Studio 2010 RC and ASP.NET 4.0 RC from Discount ASP.NET
Discount ASP.Net has updated their Hosting Sandbox for Visual Studio 2010 RC and ASP.NET 4.0 RC.http://www.discountasp.net/press/2010_02_16_free-asp.net-4.0-RC-hosting.aspxTo learn more about the new Web Deployment features in Visual Studio 2010 check out this Step by Step Walkthrough on Web 1-Click Publish with VS 2010To provide feedback on the RC please visit the Visual Studio Connect site. You can also contact the Web Tooling team directly by sending mail to vsweb@microsoft.comBradley Bartz | Visual Web Developer
CLR Inside Out – Formatting and Parsing Time Intervals
The new installment of the “CLR Inside Out” column in MSDN Magazine is now available on line. This month we have an article from Ron Petrusha on Formatting and Parsing Time Intervals in the .NET Framework 4. The article contains details on new parsing and formatting support for TimeSpan values, as well as some tips for how to use them. You can find a list of all “CLR Inside Out” articles here.
Visual Studio 2010 clean application level web.config
This post introduces you to a small improvement that has been made in Visual Studio 2010 & .NET 4 to reduce the size of the ASP.NET application level web.config 3.0 and 3.5 web.config As ASP.NET technology evolved, the application level Web.config had new things added to it. Since the earlier frameworks were using the same set of machine level configuration files, incremental feature that was added subsequent to the 2.0 release resulted in additional config settings included in the file. .NET 4 web.config With .NET 4, the web.config is tremendously reduced in size to improve the simplicity of ASP.NE...
Visual Studio 2010 RC public download available now!
It’s finally here. Visual Studio 2010 and .Net 4.0 release candidate is available for everyone to download now.To download the public RC of Visual Studio 2010 go the RC landing page: Since the beta we’ve been focused on performance improvements, reducing memory requirements, increasing stability and fixing customer reported bugs.Here are just a few of the tweets flying around about the RC: Here are few of the posts covering Visual Studio 2010 RC: Scott’s blog post includes a list of known issues most notable are: Several web hosters are also gearing up to sup...
How to extend target file to include registry settings for web project package
Web project package and deployment targets files are written with extensibility in mind. User can easily extend a property to include more functionalities in their package by using msbuild targets and properties. If we check the Microsoft.Web.Publishing.targets file under “%Program Files%MSBuildMicrosoftVisualStudiov10.0Web”, we can see the following, which means if file $(WebPublishPipelineProjectName).wpp.targets exists in the project directory, we’ll import it automatically when build package or publish. Here’s steps to create a customized target file to include some registry keys in the web ...
Visual Studio 2010 RC Feedback Channel for Web Tools
As you probably heard the Visual Studio 2010 RC is currently available for MSDN subscribers! You can download it from here http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx. General public release is slated for Wed.The Web Development Tools Team has setup a DL that we would like you to use to send us direct feedback on anything web development related for this RC.The DL is: vsweb@microsoft.comOnce you have had a chance to use the product please send us feedback on your overall experience with our product. The more details you can provide the better.Also, feel free to shoot us a mail if: If you do encou...