Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


ASP.NET 5: Using POCO controllers

AddThis Social Bookmark Button
ASP.NET 5 supports POCO controllers. Yes, controller classes that doesn’t extend Controller base class. These controllers look a little bit different by some small aspects and sometimes we may need to help framework detect our POCO controllers. This posting gives you complete overview of POCO controllers in next ASP.NET. The post ASP.NET 5: Using POCO controllers appeared first on Gunnar Peipman - Programming Blog.

What’s new in C# 6.0? - Setting default values to Auto Properties

AddThis Social Bookmark Button
Did you try the new Visual Studio 2015 and .NET 4.6? At the time of writing this blog post, it’s still in “Preview” release for the developers to try and report issues. .NET 4.6 comes with C# 6.0 with additional new features expected by developers to improve their coding productivity. We are now going to describe the new features introduced in C# 6.0. Today in this blog post, we are going to see how to initialize/set default values to auto properties introduced in C# 6.0. Keep reading.
  If you didn’t yet download Visual Studio
2015 and .NET 4.6, download it now to try out the new features introduced in C# 6.0. For quite a long time, it was asked by the developers to initialize or set default values to auto properties where it has been declared. Earlier to C# 6.0, we had to make them as full property with a private variable to initialize at the time of declaration. But, time has changed now. You don’t need to create the full property in order to initialize them. Less code, less chances of bugs and better chances of productivity. Isn’t it? A typical auto property looks...(Read whole news on source site)

New Features in C# 6 - The C# Team - Site Home - MSDN Blogs

AddThis Social Bookmark Button
New Features in C# 6 - The C# Team - Site Home - MSDN Blogs

Some features are mostly syntactic sugar (expression-bodied members, string interpolation, nameof), some complete what felt a bit like unfinished work (getter-only auto-properties, await in catch and finally) or expand existing features in a natural way (using static, index initializers). Some expose expressiveness from IL that C# didn’t previously surface (exception filters, parameterless constructors in structs). Some are almost just “bug fixes” to the design, and you’ll hardly know that you’re making use of them (improved overload resolution, extension Add methods in
collection initializers)....(Read whole news on source site)

Enabling CORS in WCF - Cross-origin resource sharing

AddThis Social Bookmark Button
Enabling CORS in WCF - CodeProject

example of WCF as REST based solution and enabling CORS access, so that
this WCF service can be consumed from other domains without having
cross-domain issues.

We develop WCF service as REST service and consume that using javascript
and jquery calls. This is good to start with single page application or
purely javascript based application. You will never face any issue as
long as wcf service hosted domain remains same as the domain where you
have consumer service. The issue arises
when, you started allowing other
companies to consume WCF service as REST service. For e.g. you have
some reporting service and exposed as REST service. You have a web
portal , where this is consumed. And since this purely REST based, you
want to allow 3rd party companies to consumer REST based service and
show same reporting in their website. NOTE: In this case, JS used to
consume WCF service will be sitting at client's domain, but WCF domain
will be your domain. And this different domain will cause cross domain
issue,...(Read whole news on source site)

The Morning Brew #1743

AddThis Social Bookmark Button
Links only today as I’m a little pressed for time… Information Azure : Blob Storage / Retrieval – Sacha Barber Chess TDD 22: Friendly Pieces – Erik Dietrich Building C#/ASP.NET apps on a Mac with vNext – Jeremy Morgan Using the Docker client from Windows and getting AspNet vNext running in a Docker Container – […]

Learn ASP.NET MVC 5 in 2 days (Sponsored)

AddThis Social Bookmark Button
Questpond has launched a full step by step course on  ASP.NET MVC. This course from Shivprasad Koirala will help you to learn MVC (Model view controller) step by step in 2 days ( i.e in 16 hours) right from basics to a professional level. This is a Sponsored post and in this post, the first video will show you how to display a simple Hello world in ASP.NET MVC. Also, check out the complete syllabus for details.   Shivprasad Koirala has published a video course on Questpond, which will step-by-step guide you to learn MVC 5 in just 2 days
(yes, you heard the word correct... just 2 days i.e. 16 hours only). Below is the complete syllabus of the course “Learn MVC 5 in 2 days”:Lab 01 : - Simple Hello world (20 minutes) Lab 02 : - Explain MVC Routing (10 minutes) Lab 03 : - Explain ViewData, ViewBag, TempData & Session Variables (20 minutes) Lab 04 : - Explain Model and Strongly typed views (20 minutes) Lab 05 : - Explain Model Binders (10 minutes) Lab 06 : - Why MVC and MVC vs Webforms? (30 minutes) Lab 07 : - Explain TempData, Peek and...(Read whole news on source site)