.NET Blog

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

Featured posts

Announcing .NET 9
Nov 12, 2024
29
42

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

‘Paste JSON As Classes’ in ASP.NET and Web Tools 2012.2 RC
Dec 18, 2012
0
0

‘Paste JSON As Classes’ in ASP.NET and Web Tools 2012.2 RC

Anand Paranjape(MSFT)
Anand Paranjape(MSFT)

‘Paste JSON As Classes’ is a cool feature in ASP.NET and Web Tools 2012.2 RC. This feature will help you generate strongly typed classes in C# or VB.NET from valid JSON text. With ASP.NET and Web Tools 2012.2 RC installed, you will see new menu option like below for C# and VB.NET Website and Web Application projects only. This new menu option will be enabled for .cs and .vb file extensions inside these projects:   JSON to C#/VB.NET class conversion To use this feature, just copy sample JSON text and “Paste JSON As Classes” inside .vb or .cs file. This feature uses Newtonsoft JSON parser to parse JSON t...

SignalR: Building real time web applications
Dec 17, 2012
0
0

SignalR: Building real time web applications

Gustavo Armenta Valdez
Gustavo Armenta Valdez

Note: This sample is targeting SignalR 1.0.1  SignalR offers a simple and clean API to write real time web applications where the server needs to continuously push data to clients. Common applications are chat, news feed, notifications, multiplayer games. In this sample, I demonstrate powerful features like: Server Server derives the Hub class, and it handles incoming requests in two ways: Server is also pushing data to clients in two ways using the BackgroundThread class: As you can see, dynamic methods define the events that need to be handled on t...

Downloading the .NET Framework and Visual Studio Express Editions and SDKs
Dec 17, 2012
0
0

Downloading the .NET Framework and Visual Studio Express Editions and SDKs

Brandon Bray
Brandon Bray

Update: An updated version of this content is available: Get the latest .NET Bits. We see a lot of daily traffic through the .NET blog and the .NET dev center on MSDN. It is clear from the web traffic data that a key task for many of you is downloading more .NET software, to expand your options and experience developing .NET apps. The number one download for .NET is the .NET Framework –the latest version being the .NET Framework 4.5. However, we also see a lot of activity downloading Visual Studio and the many SDKs that you can install to expand its capabilities. The purpose of this post is to direct you to th...

CSS Auto-Sync and JavaScript Selection Mapping in Page Inspector
Dec 13, 2012
0
0

CSS Auto-Sync and JavaScript Selection Mapping in Page Inspector

balach
balach

With the release of ASP.NET and Web Tools 2012.2 RC (details here), we have added a couple of new features to Page Inspector in Visual Studio 2012, namely CSS Auto-Sync and JavaScript Selection Mapping. I explain these features in the context of a MVC 4 Single Page Application (SPA app) below, which is a new template available in this release. But the Page Inspector improvements are available for all the other kinds of web projects as well, such as other types of MVC projects and web forms projects.   CSS Auto-Sync Let’s get started by creating a new MVC 4 SPA application using VS 2012. ...

Knockout Intellisense in ASP.NET and Web Tools 2012.2 RC
Dec 13, 2012
0
0

Knockout Intellisense in ASP.NET and Web Tools 2012.2 RC

VKichline
VKichline

WTE (Web Tools Extension) 1.2 RC is part of the ASP.NET and Web Tools 2012.2 RC and it’s available for download from http://www.microsoft.com/download/details.aspx?id=36053. Knockout Intellisense is an exciting new feature in WTE 1.2 RC.  Knockout is a declarative JavaScript MVVM system for client-side data binding.  See http://knockoutjs.com/ for complete information and http://learn.knockoutjs.com/ for tutorials. Knockout Intellisense allows you to code Knockout quickly and accurately, and custom bindings are fully supported! With WTE 1.2 RC installed, you can utilize the Knocko...

The new Facebook application template and library for ASP.NET MVC
Dec 13, 2012
0
0

The new Facebook application template and library for ASP.NET MVC

Yao - MSFT
Yao - MSFT

If you’re looking to build a Facebook App using ASP.NET MVC, then you’re in the right place. With the release of ASP.NET and Web Tools 2012.2, we’ve added lots of updates to our Facebook Application template and library since we first introduced it in the Preview. The library, Microsoft.AspNet.Mvc.Facebook, can be downloaded as an independent NuGet package and it contains everything you need to create a Facebook Canvas application using ASP.NET MVC. It’s already included by default in the Facebook Application template to give you a quick jump start on building a Canvas Page. Please refer to the tutorial for ins...

Talking about .NET in the Community Press
Dec 12, 2012
1
0

Talking about .NET in the Community Press

Brandon Bray
Brandon Bray

We follow a lot of blogs and digital papers relating to both .NET and also technology in general. There is a lot of great content that gets published every day about .NET. We’re starting a new series to publish these great links, doing our part to help give that content a larger audience. For this post, I wanted to call out some of the journalists in the community press that have been regularly including links to our posts. We’ve noticed the traffic from your domains! Thanks for expanding awareness to our blog and many other great .NET blogs. Paper.Li Blogs ...

Asynchronous Programming for Windows Store Apps: .NET is up to the Task
Nov 30, 2012
0
0

Asynchronous Programming for Windows Store Apps: .NET is up to the Task

Brandon Bray
Brandon Bray

Programming with async and await is the driving force behind delivering “fast and fluid” user experiences. Compiler diagnostics for async APIs guide developers towards best practices – it’s a wonderful example of platform and tooling working together. Since the Windows Runtime uses a slightly different implementation for async programming than .NET, Greg Paperin – a developer on the .NET base class libraries – explains how C# and Visual Basic still provide a unified development experience between the two sets of APIs. –Brandon Asynchronous Programming in Windows Runtime APIs Asynchronous programming is one ...

Model Binding Fundamentals
Nov 30, 2012
0
0

Model Binding Fundamentals

pranav rastogi
pranav rastogi

In the previous post we looked at an overview of what is Model Binding and the benefits it brings in for WebForms developers. In this post we will look at the basic fundamentals and how the Model Binding system works with controls. Data Binding with Model Binding Uptil ASP.NET v4.0, data binding in controls happened with data bound controls such as GridView used to bound to data source controls such as ObjectDataSource. We will use this as a reference to understand the flow in the Model Binding System. A lot of the implementation derives inspiration from ObjectDataSource. Following snippet shows how a GridView ca...