QUESTIONS

Tagged: asp.net-core

answers  0
views  124
votes  0

[Question] Reading and writing Cookies in ASP.NET Core  

In ASP.NET Core the web.config file is gone. Instead we use project.json, which is fine. One of the things we used to do in web.config is configuring all cookies to be HttpOnly and -- in some cases -- ...
Apr 22, 2016
Chris Harris
{ 50 - 1 - 0 }
answers  0
views  81
votes  0

[Question] Custom Taghelpers that replace @Html.Partial and @Component.Invoke  

ASP.NET Core introduces View Components and Tag Helpers, both of which are great additions. What I like about Tag Helpers is that their syntax is so much easier on the eyes compared to the traditional ...
Apr 21, 2016
Kevin Snyder
{ 85 - 1 - 0 }
answers  0
views  470
votes  0

[Snippet] How to setup Session in ASP.NET Core  

I was using TempView in ASP.NET Core and received a run-time error message, telling me that Session was not enabled. Here is how I got it to work: Add two entries to dependencies in your config.js ...
Apr 20, 2016
Jim Slater
{ 4,852 - 961 - 1 }
answers  1  
views  2.3K
votes  0

[Question] ASP.NET Core: setting Viewbag value in the OnActionExecuting method  

In ASP.NET Core (RC1) I am setting a ViewBag value in the OnActionExecuting method in a custom ActionFilter. This is the code: public override void OnActionExecuting(ActionExecutingContext filterCon ...
Apr 20, 2016
Jim Slater
{ 4,852 - 961 - 1 }
answers  0
views  67
votes  0

[Question] Does ASP.NET Core support Areas?  

Does ASP.NET Core supports Areas? The tooling seems to indicate it does not; the Add Area option is not available anymore.
Apr 10, 2016
Kwang-Sun Sam
{ 50 - 1 - 0 }
answers  0
views  159
votes  0

[Question] Going forward: Should I rewrite my HtmlHelpers into TagHelpers?  

We are considering migrating our MVC 4 solution over to ASP.NET Core. Should we rewrite all our HtmlHelpers over to TagHelpers or is that considered wasted effort. We certainly like the TagHelper s ...
Apr 04, 2016
Marlen Stas
{ 50 - 1 - 0 }
answers  0
views  237
votes  0

[Question] Creating nested TagHelpers in ASP.NET Core  

I am building a complex taghelper that can use functionality that is available in other taghelpers. Is there is way to do this? If so, is there is an example I can see?
Apr 04, 2016
Vipin Brar
{ 50 - 1 - 0 }
7  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.