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

View Location Expander in ASP.NET 5 (vNext) and MVC 6

AddThis Social Bookmark Button
          Introduction:                    Yesterday, I wrote about Custom View Engine in ASP.NET 5 (vNext) and MVC 6 with Dynamic View Location, but David Fowler told me that there is another much better and easy way to do this using a new feature in ASP.NET 5 and MVC 6 called view location expander. View location expander can be used to determine paths for a view and it is used by RazorViewEngine. This feature makes it very easy to add dynamic view location paths in your application while maintaining the view location cache. In
this article, I will show you how to add view location expander feature in your application            Description:                       Let's create an ASP.NET 5 web application (note that I am using beta3 at the time of writing). Here we need to implement IViewLocationExpander interface,    public class MyViewLocationExpander : IViewLocationExpander { public void PopulateValues(ViewLocationExpanderContext context) { var value = new Random().Next(0, 1); ...(Read whole news on source site)

RavenDB in Siberia

AddThis Social Bookmark Button
A good chunk of the RavenDB Core Team is going to be in CodeFest in Novosibirsk this weekend, including yours truly. We are going to be handing out a lot of cool stuff, and we got some really nice things to talk about. And yes, I’ll keep the suspense until I get to meet people face to face.

Custom View Engine in ASP.NET 5 (vNext) and MVC 6 with Dynamic View Location

AddThis Social Bookmark Button
          Introduction:                    Long time ago, I have written a blog post about how to create a custom view engine in ASP.NET MVC. I thought to write the same for ASP.NET 6 and MVC 6. In this article, I will show you how to create a custom view engine in ASP.NET 5 and MVC 6. (Note that ASP.NET 5 and MVC 6 is still in beta, so things might change in future)           Description:                       Assuming that you have created an ASP.NET 5 web application
(note that I am using beta3 at the time of writing). Let's say, you have Theme1 and Theme2 folders inside Views folder and you want to show views from Theme1 or Theme2 folder randomly. Let's implement this by adding MyRazorViewEngine class which inherits from RazorViewEngine class,   public class MyRazorViewEngine : RazorViewEngine { public MyRazorViewEngine(IRazorPageFactory pageFactory, IRazorViewFactory viewFactory, IViewLocationExpanderProvider viewLocationExpanderProvider, ...(Read whole news on source site)

The Morning Brew #1828

AddThis Social Bookmark Button
Software Node.js Tools 1.0 for Visual Studio – Sara Itani announces the release of the Node.js Tools for Visual Studio 1.0 bringing rich editor support, code completion, REPL, npm package management integration, test explorer and much more making Visual Studio a much better place to work with JavaScript codebases Syncfusion Essential Studio – Community Licence […]

What's new in the Office Roadmap - 2015-03-25

AddThis Social Bookmark Button
Another day with some changes in the Office Roadmap, and some really interesting ones actually! Changes 2015-03-25 These are the changes since last time. Now launched Compliance Center for Office 365: From rolling out. Now no one can be less compliant than anyone else, or… Office 365 Groups Notebooks: Coming from nowhere direct to launched. Each Office 365 Group now has a OneNote Notebook. Features now rolling out Edit Office 365 profile details page update: Another newcomer on the list, only this one didn't make it directly to production :).  By clicking on the
Gears in the upper-right corner, choosing Office 365 Settings, then choosing Me you will (if your tenant has this feature rolled out) find the new responsive page (https://portal.office.com/profile)
...(Read whole news on source site)

JSHint: Confusing Use of ! (not)

AddThis Social Bookmark Button
I ran in to this error a moment ago, produced by JSHint: The error says: Confusing use of ‘!’ That was certainly a new one to me… but after a moment of thought, it made sense.  The Potential Confusion Here’s the original code that I wrote, which produced this problem: In this code, the potential […]

Home