.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

Evolving the Reflection API
Aug 28, 2012
0
2

Evolving the Reflection API

Brandon Bray
Brandon Bray

As many developers have noticed, the reflection APIs changed in the .NET API set for Windows Store apps. Much of .NET’s ability to offer a consistent programming model to so many platforms over the last ten years has been the result of great architectural thinking. The changes to reflection are here to prepare for the challenges over the next decade, again with a focus on great architecture. Richard Lander and Mircea Trofin, program managers respectively from the Common Language Runtime and .NET Core Framework teams, wrote this post. -- Brandon In this post, we will look at changes to the reflection API for ...

List of ASP.NET Web API and HttpClient Samples
Aug 26, 2012
0
1

List of ASP.NET Web API and HttpClient Samples

Henrik F Nielsen
Henrik F Nielsen

Here is a list of the Web API and HttpClient samples you can find in our samples repository on aspnet.codeplex.com. They illustrate various features of Web API and HttpClient targeting either Visual Studio 2010 using .NET 4 or Visual Studio 2012 using .NET 4.5 with async/await language support. For details on how get up and running with the samples, please see the blog ASP.NET Web API Samples on Codeplex. You can also check out additional information about ASP.NET Web API as well as find the Open Source runtime on Codeplex.If there are samples that you miss or you find issues then please register an issue and let...

Customizing the login UI when using OAuth/OpenID
Aug 24, 2012
0
0

Customizing the login UI when using OAuth/OpenID

pranav rastogi
pranav rastogi

In the last post I showed how you can plug in your own OAuth/OpenID provider. This post shows you how you can pass in extra data about the provider such as display name, image etc and use this information when building up the UI for login screen   If you see the experience of login screen in the ASP.NET templates, it looks like this. Let’s see how can we customize this UI to look like the following Web Forms                   extraData: new { Icon = "~/Images/facebook.png" } ...

NuGet Feed Performance Update
Aug 24, 2012
0
0

NuGet Feed Performance Update

Jeff Handley [MSFT]
Jeff Handley [MSFT]

As you might know, NuGet has been having some performance (and timeout) related issues recently. Earlier this week, we completed a deployment that helped, but it didn't address everything.Many users are still seeing slow responses or even timeouts when trying to use the ‘Manage NuGet Packages’ dialog in Visual Studio.Ongoing InvestigationThe deployment earlier this week greatly improved the packages page on the gallery, but it didn't address the Visual Studio dialog performance as much as we had hoped. Since that deployment, we’ve been focusing on the queries behind the Visual Studio dialog.We h...

Plugging custom OAuth/OpenID providers
Aug 23, 2012
0
0

Plugging custom OAuth/OpenID providers

pranav rastogi
pranav rastogi

In the previous post, I wrote about how you can use the existing providers for Google, Facebook etc. and retrieve extra metadata about the authenticated users. Let’s assume you wanted to change the way the providers request for information. Some examples of this could be This post covers how you can write your own provider and plug it into your ASP.NET web application Write your own provider Each Provider implements from OpenIdClient. Following example shows a custom implementation of Google Provider which requests information about the user such as firstname/lastname etc Please Note:  This add...

NuGet Gallery Performance Issues
Aug 22, 2012
0
0

NuGet Gallery Performance Issues

Mads Kristensen
Mads Kristensen

Since August 16th, and especially since August 21st, the NuGet Gallery has been exhbiting intermittent performance issues. Some users are reporting errors when attempting to browse or search for NuGet packages from Visual Studio or other clients. Many users are reporting that browsing and searching are slow. There have also been timeout errors when browsing the gallery’s packages page. During this time, we have been communicating with many of you on twitter, under the #nuget tag, as well as in JabbR’s #nuget room. We truly appreciate your patience and understanding with us. Status We have been working to addre...

Web Deploy (MSDeploy) how to sync a folder
Aug 22, 2012
0
0

Web Deploy (MSDeploy) how to sync a folder

Sayed Ibrahim Hashimi
Sayed Ibrahim Hashimi

Today I saw the following question on StackOverflow MSDeploy - Deploying Contents of a Folder to a Remote IIS Server and decided to write this post to answer the question. Web Deploy (aka MSDeploy) uses a provider model and there are a good number of providers available out of the box. To give you an example of some of the providers; when syncing an IIS web application you will use iisApp, for an MSDeploy package you will use package, for a web server webServer, etc. If you want to sync a local folder to a remote IIS path then you can use the contentPath provider. You can also use this provider to sync a folder ...

Extra Information from OAuth/OpenId Provider
Aug 22, 2012
0
0

Extra Information from OAuth/OpenId Provider

pranav rastogi
pranav rastogi

When you authenticate a user using the OAuth/OpenId providers, you can request for some extra information about the user if you have granted access for these providers to send this information. For eg if you login using Facebook, you can request information such as Gender, country etc. Each provider has different set of data that you can retrieve. I am not going to into the details of these different sets of data. In this post I am going to cover what kind of information can you retrieve from the implementations of the providers that we shipped with templates  in VS2012 and how can you retrieve this inform...

Announcing the Release of SignalR 0.5.3
Aug 22, 2012
0
0

Announcing the Release of SignalR 0.5.3

Brady Gaster
Brady Gaster

SignalR 0.5.3 Release Notes The SignalR team has been working long hours in their team room in Building 18 for the past few months adding features, resolving issues, and cranking out code. Today the team has released the 0.5.3 release of SignalR. This post will cover some of the key items in the release and explain how you can make use of the great new features, like improved error handling, extended logging functionality, and client hubs. New Connection Syntax, Simpler Cross-Domain Connections The 0.5.3 release adds a new method of establishing a connection to a SignalR Hub on the server, the hubConnect...