.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Featured posts

Announcing .NET 9
Nov 12, 2024
29
38

Announcing .NET 9

.NET Team
.NET Team

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...

.NETASP.NET CoreC#

Latest posts

How to Create a Custom Item Template and Project Template
Sep 23, 2010
0
0

How to Create a Custom Item Template and Project Template

Web Development Tools Microsoft
Web Development Tools Microsoft

When you’re working on a web project, there are times you wish you could have captured all of the stuff you’re working on often and then re-use it later on, similar to code snippet. For example, if you work with JaveScript, HTML5 a lot, you would want to be able to create a new web project that already has a predefined set of jQuery library, or add a new page that already has references to the new HTML5 doctype and the jQuery libary, so you don’t have to constantly modify the page to add those in. You can achieve this by creating your own Item Template and Project Template. Recently, Rey Bango h...

Win7 Mobile Development Tools
Sep 23, 2010
0
0

Win7 Mobile Development Tools

Web Development Tools Microsoft
Web Development Tools Microsoft

If you haven’t installed the Visual Studio Mobile tools for building Win7 applications I would highly recommend you do so now via one of the following links: The release notes can be found here: Release Notes Programming Resources: http://charlespetzold.com/phone/index.html Channel 9 Training: https://channel9.msdn.com/learn/courses/WP7TrainingKit/ Windows Phone Developer Forums: http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series XNA Creators Club: http://creators.xna.com/en-US/ Pre-Requites: Uninstall any non-RTM versions of VS 2010. Thanks, –Mike

Extending XML (web.config) Config transformation
Sep 20, 2010
0
0

Extending XML (web.config) Config transformation

Web Development Tools Microsoft
Web Development Tools Microsoft

Sayed recently posted a blog on extending XML (web.config) Config transformation.  If you haven’t read it already, you can find it here:

Is That the Right Version of Mscoreei.dll?
Sep 13, 2010
0
0

Is That the Right Version of Mscoreei.dll?

CLR Team
CLR Team

After installing .NET 4.0 or later you may notice something a little unusual about your .NET processes. Here is a partial list of the loaded modules of a simple “Hello World” executable compiled with the .NET 2.0 compiler. start end module name 60f00000 61491000 mscorwks C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll 6c650000 6c6b6000 mscoreei C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll 6d420000 6d46a000 MSCOREE C:\Windows\SYSTEM32\MSCOREE.DLL 75a80000 75aca000 KERNELBASE C:\Windows\system32\KERNELBASE.dll Something here looks out of place – the mscoreei.dll file...

An example of packaging web application containing database upgrade SQL file
Aug 9, 2010
0
0

An example of packaging web application containing database upgrade SQL file

Web Development Tools Microsoft
Web Development Tools Microsoft

A few months ago, we have a blog talking about extending the web publishing pipeline to package database project deployed SQL file.  In this blog, I’ll show step by step example of packaging web application with SQL Server database upgrade SQL file using Visual Studio 2010.  This way, we can generate a web package with incremental SQL script to certain database version.  The scenario may help distributions of a web upgrade package which needs to be installed on many different locations, each with their own SQL server database.   1. Create a Web Application Project 2. Add a new “SQL Server 2...

Hot Fix Released for the Issue of Visual Studio 2010 Crashing When Switching to the Design View
Aug 6, 2010
0
0

Hot Fix Released for the Issue of Visual Studio 2010 Crashing When Switching to the Design View

Web Development Tools Microsoft
Web Development Tools Microsoft

When switching to the design view, a page containing numerous controls inside an editing region such as View or Panel may cause a crash in Visual Studio 2010. We have released a hot fix for this issue on Connect at https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=30462&wa=wsignin1.0 and on Code Gallery at http://code.msdn.microsoft.com/KB2201993.Hope this helps. -Anh Phan Visual Web Developer Team.

Request for Real-World Web Applications
Jul 12, 2010
0
0

Request for Real-World Web Applications

Web Development Tools Microsoft
Web Development Tools Microsoft

In preparation for enhancing Visual Studio design-time experience testing, we’d like to collect a catalog of real world applications to use for performance, stress, and ad hoc testing by the Web Platform and Tools team.  We’re looking for small, medium, and large applications covering a range of architectures, languages, frameworks, and features. Your contributions will help us to ensure stability and performance in the areas of greatest interest to you.  These additional testing opportunities will also help us ensure that we will have more real world samples to verify every release of Visua...

A practical example of using web application deployment package with IIS7
Jun 25, 2010
0
0

A practical example of using web application deployment package with IIS7

Web Development Tools Microsoft
Web Development Tools Microsoft

When a zip package is built from VS2010 web application UI (via Build Deployment Package command), or through command line (msbuild myproject.csproj /t:package), a few files are generated in the destination folder. Here’s some brief description: It’s very common to deploy our package to a IIS7 virtual application under Default Web Site.  Since web deploy can generate a virtual application if it’s not exist, we can use the following options:1. Manually import the zip file from IIS manager and change the “Application Path” in the “Import Application Package” Wizar...

In-Proc SxS and Migration Quick Start
Jun 23, 2010
0
0

In-Proc SxS and Migration Quick Start

CLR Team
CLR Team

This post is meant to help you understand what runtime in-process side-by-side is, how to think about it, how to use it, and how it affects application and component migration to the .NET 4 Runtime. This post is relevant to you if you use native runtime activation APIs, depend on specific runtime activation behaviors, or use mixed mode assemblies built with Visual Studio Managed Extensions for C++ v8 or v9, or if you’re just interested in how we handle pre-.NET 4 and .NET 4 code coexisting on a machine. The problem Prior to the .NET 4 Runtime, any given process was limited to loading only one runtime vers...