.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

Workaround for HTML closing tag problem
Sep 26, 2012
0
0

Workaround for HTML closing tag problem

Mads Kristensen
Mads Kristensen

In Visual Studio 2012, HTML tags will fail to be automatically closed when using the following keyboard layouts: On these keyboards, the “>” character is typed by pressing AltGr+. or RightAlt+.Work around Typing an HTML tag will now result in the closing tag being automatically inserted, as in VS 2010.

WCF Duplex Bi-directional Streaming with WebSocket Transport
Sep 26, 2012
0
0

WCF Duplex Bi-directional Streaming with WebSocket Transport

James Osborne-MSFT
James Osborne-MSFT

DuplexBiDirectionalStreaming VS2012 project DuplexBiDirectionalStreaming.zip Introduction With WebSocket transport, it’s possible to use streamed transport on the Duplex Callback – something that was previously a technical limitation with WCF but is now possible using this transport. New to .Net4.5 is the NetHttpBinding (and NetHttpsBinding), which is a new standard binding that leverages the WebSocket transport if it makes sense to do so. You can configure it to always use WebSocket transport, but by default, it will only use it for Duplex channel shapes. Why? Well, what this transport gives you is the ability...

ASP.NET 4.5 ScriptManager Improvements in WebForms
Sep 21, 2012
0
0

ASP.NET 4.5 ScriptManager Improvements in WebForms

pranav rastogi
pranav rastogi

The ScriptManger control has undergone some key targeted changes in ASP.NET 4.5 which makes it easier to register, manage and combine scripts using the ASP.NET weboptimization feature. This post will highlight the changes that have happened to this control Easy Integration with JQuery and JQueryUI The default templates for WebForms ship with the following packages “AspNet.ScriptManager.jQuery” and “AspNet.ScriptManager.jQuery.UI.Combined”. These packages make it easier to bring in jquery and jqueryUI libraries  and also register them with the ScriptManager. Here is how it works. Th...

Configuring your ASP.NET application for Microsoft OAuth account
Sep 19, 2012
0
0

Configuring your ASP.NET application for Microsoft OAuth account

pranav rastogi
pranav rastogi

This post is a part of the series about how to enable and use OpenID/OAuth support that was added to the ASP.NET templates in Visual Studio 2012. In this post I am going to detail the instructions on configuring your application to use Microsoft account for authentication. I am going to be focusing on configuring the application for a development environment(using VS & IISExpress)     ...

An ASP.NET Open Source How-To Decoder Ring
Sep 15, 2012
0
1

An ASP.NET Open Source How-To Decoder Ring

Henrik F Nielsen
Henrik F Nielsen

As you probably know, ASP.NET MVC, Web API, and Web Pages are available as open source on aspnetwebstack.codeplex.com. If you want to go beyond using the official RTM versions and either use the latest nightly drops, compile it yourself, or create pull requests then here’s a decoder ring for how to get started:1) Using the Nightly NuGet PackagesFor when you want to try out the latest nightly NuGet packages from our preview feed without having to compile the source.2) Getting Symbols and Source for Nightly BuildsFor when you run into trouble using the nightly NuGet packages or want to see what is going on. M...

How to use the EntityDataSource control with the DbContext API
Sep 13, 2012
0
0

How to use the EntityDataSource control with the DbContext API

Tom Dykstra - MSFT
Tom Dykstra - MSFT

The EntityDataSource control is designed to work with the ObjectContext API because that's all that existed when the control was created. The DbContext API was introduced later, in Entity Framework 4.1 alongside the Code First development workflow.  Since Code First and DbContext were introduced together you might be accustomed to associating the two, but now in Entity Framework 5.0 the DbContext API is the recommended and default API for all development workflows – Database First and Model First as well as Code First.  So if you want to use the EntityDataSource control, sooner or later you'll want to know how to...

ASP.NET Data Access Guidance Published
Sep 12, 2012
0
0

ASP.NET Data Access Guidance Published

Tom Dykstra - MSFT
Tom Dykstra - MSFT

On 9/11 we published a new* set of pages on MSDN offering guidance for getting started with data access in ASP.NET. If you're already using ASP.NET, parts of these pages will just repeat what you already know or take for granted, but a few parts contain recommendations that are new for ASP.NET 4.5. These pages clearly identify which technologies are still available and supported but are no longer part of Microsoft's strategic direction, such that you should think twice before choosing them if you're creating something new. One page provides help setting up SQL Server connection strings.Here are links to the new p...

Celebrating the Visual Studio 2012 launch with the release of a popular App
Sep 12, 2012
0
0

Celebrating the Visual Studio 2012 launch with the release of a popular App

Brandon Bray
Brandon Bray

Today, we’re happy to announce the launch of Visual Studio 2012 and the .NET Framework 4.5. You can read more about the Visual Studio 2012 launch on Jason Zander’s blog. We’ve been using the new version of Visual Studio for several months now to build .NET Framework apps for Windows, Windows Store, Windows Azure, and Window Server. The Visual Studio team has made many improvements throughout the product that I’m sure you’ll love. We’ve certainly found quite a few. Many of you have asked for the “.NET Feature Catalog” app that we’ve been demonstrating at recent conferences such as TechEd. To celebrate the la...

Integrate OpenAuth/OpenID with your existing ASP.NET application using Universal Providers
Sep 12, 2012
0
0

Integrate OpenAuth/OpenID with your existing ASP.NET application using Universal Providers

pranav rastogi
pranav rastogi

Over the past couple of weeks I have come across lots of questions/discussions on while OAuth/OpenId is cool as a feature in the ASP.NET templates in Visual Studio 2012, but how do I easily integrate this into my application outside of the templates. More so how do I extend the Universal Providers to integrate OAuth/OpenId and use other functionality such as roles etc. I am going to cover these two areas in this post using WebForms but you could integrate the same with MVC applications as well Update While the post is titled to show how you can integrate this with UniversalProviders, you can totally integrate t...