C# ASP.Net 5 configuration and backwards compatibility with Class Libraries
I've got multiple legacy libraries which configure themselves via the ConfigurationManager. Example:var port = ConfigurationManager.AppSettings["service.port"];The new ASP.Net system prefers strongly...
View ArticleDiscrepancy between Azure Websites and Local Development
I am currently building a website with ASP.NET 5 (currently using Beta 7). My current solution has 3 projects in it: 1 web and 2 libraries [both of these are the new Class Library (Package)] All...
View ArticleGetting an exceptional handelling error in connection
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dllAdditional information: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
View ArticleAll Authentication methods in ASP.NET 5
Hello everyone,I am a beginner with ASP.NET and ASP.NET 5. I am developing a ASP.NET API App including Authentication and AuthorizationI found there are many kind of authentications in ASP.NET 5 and I...
View ArticleHow to deploy ASP.Net on premise farm across Geo locations?
Let's say for an intranet application on ASP.Net platform we need 3 front-end servers, 2 app server and 1 DB server. Out of total 20K internal users, 12K is in India and 8K is in USA. They have data...
View ArticleHow to localize and globalize ASP.NET 5 MVC Websites?
Hello,how to localize and globalize ASP.NET 5 MVC Websites?I have see that I can't add .resx files to my MVC Site Solution. And I find out that I can add a .rct file to the Solution Items folder in my...
View ArticleCan not see index.html MVC 6.
Hello,I wanna connect the AngularJS to a web service written with ASP net 5 with MVC 6.0. I just follow this tutorial to manage this nice...
View ArticleJWT Bearer token authentication error after moving from ASP.NET vNext beta5...
I moved from beta5 to beta7 ASP.NET vNext and I get following error when I try to access protected API controller with invalid JWT token or without token at all:InvalidOperationException: The following...
View ArticleWhat is the possible solution if the asp.net hosting provider does not allow...
I have developed a responsive asp.net website using Visual Studio 2015 Community by choosing the default ASP.NET Forms template . On my local computer, the website runs perfectly fine, but when I...
View ArticleExcluding directories and files from ASP.NET 5 projects
ASP.NET 4 had a project file which explicitly listed files that are in the project and thus listed in the Solution Explorer. There was a context menu option to "include in project" or "exclude from...
View ArticlePossibility of concurrently reading HTTP request body and writing HTTP...
Hi,would it be possible to implement the IO of ASP.Net 5 such that it is possible to concurrently read the request body and write the response body?E.g., using the following code in the Startup class:...
View ArticleEmbedded Resources with ASP.Net 5
Hi,We are heavily testing and actually developing one prototype using ASP.Net vNext and we need to be able to include resources to the assemblies. We want to embed a file (txt, html, image, whatever)...
View ArticleGet Items from ListBox and Insert Into DropDown List
Hi,does anyone know how do I get the selected values from Listbox and insert them into DropDown List, then the values are being displayed from latest to oldest date?This is what I...
View ArticleEnable cross-origin requests in web api MVC 6
I wanted to access my web api from out side using jsonp to bypass the cross site scripting.[HttpGet("{email}")] public Customer Get(string email) { var user = (from usr in db.User join co in...
View ArticleConfiguring Routing/Activation/register for RESTful WCF service with MVC 6
I'm sure this is a common scenario but I haven't really found much exactly outlining what the best way to do it is.In previous version we use to register wcf service in global.asax file as...
View ArticleRe: How to set validation for select list in mvc 6
Thanks for your help but i have applied all these for exaple in model i have applied "Required" attribute to year filed.for example : code <select asp-for="Year"><option selected...
View Articlednx kestrel is not working with mono runtime in beta 7, if we have dnx451...
Hi,I have some dependencies in dnx451, like Entity Framework6, Dynamic LinQ etc.I am restoring the dependencies with beta 7 mono runtime. I got resolved all dependencies.But when I trying to Up the...
View ArticleCreate Tabs Dynamically Based on Values Selected in Listbox in ASP.Net
Hi, does anyone know how can I create tabs dynamically based on what is selected from a Listbox?This is what I have:Listbox:<asp:ListBox ID="SelectionListBox" runat="server"...
View ArticleReferences Errors issue in ASP.Net 5
Hi Developer,I am using ASP.net 5 version. I am unable to run Web Application (ASP.NET 5 Preview Template) because there is some errors issue in references. Both DNX 4.5.1 and DNX Core 5.0 marked with...
View ArticleASP vNext & Raspberry Pi 2 / Windows IoT
Hi there,Does anyone have any information of any proposals / roadmap of getting ASP vNext running on Windows IoT?Nick.
View Article