Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

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)

Loading ASP.NET MVC Controllers and Views From an Assembly

AddThis Social Bookmark Button
Back to MVC land! This time, I wanted to be able to load controllers and views from an assembly other than my application. I know about the extensibility mechanisms that ASP.NET and MVC give provides, such as Virtual Path Providers and Controller Factories, so I thought I could use them.First things first: we need a controller factory that can load a controller from another assembly:
ltr; max-height: 200px; background-color: rgb(244, 244, 244);"> 1: class AssemblyControllerFactory : DefaultControllerFactory 2: {

Home