Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

Fast Data Driven Web Applcations

Dear One,We've developed some data driven applications using ASP.NET, WCF Services, SQL Server, Stored Procedures and Transactions. We're deploying those applications on dedicated VPS with Windows...

View Article


Issue with HttpResponseMessage return in MVC6

Hi Folks,I'm migrating the application from WebAPI 2 to MVC6. I have few methods which return the HTML to the view. When I tried migrating to MVC6, it happens to be JSON along with metadata. Even after...

View Article


Pass ViewData to select TagHelper ? How ?

Hi , im trying to put a drop-down list to work on asp.net 5 with no luck, maybe someone can help.Thanks In advanceHere's the code:Controller Code:        // GET: WorkingDays/Create        public...

View Article

MVC+ external API

Hi all! Tell me is it possible to get data via api on the server side?That is, on the client side:$.ajax({ type: "GET", contentType: "application/json; charset=utf-8", url:...

View Article

IIS Hosting

I have faced many issues to host website in IIS so i want to share:1: Publish your website by right click on application and click publish-> file system -> choose destination.2: Must install...

View Article


Publish from VS 2015

Using Visual Studio 2015 Update 1, trying to publish an ASP.NET 5 web application to a local disk folder. Partway through the publish it stops and shows in the error panel "Data error (cyclic...

View Article

How to inject the interface only with class string name in the runtime

E.g. have an interface IFoo, know that only one class implements IFoo and the classstring name is "AAAA".  How to inject this scenario in startup.cs?Seems like we can do...

View Article

Return HTML from ASP.NET 6 API

I am expecting "Hello World" as output the way it provides in Web API 2. Instead it gives following...

View Article


Authentication with Json Web Token (JWT)

I am designing a Web API with individual user accounts, and I am trying to develop a token based authentication system. At first I planned on providing OAuth 2 bearer tokens, but I then learned that...

View Article


MVC6 rich text editor

Hi,Does anybody know which editor does this forum uses for posting questions?I need the exact implementation for MVC6 with Spellcheck.I have tried TineMCE but it does not have custom spellchecker and...

View Article

HomeController Index method called twice?

In my MVC 6 Project I noticed my HomeController's Index method was being called twice so I created a new default web project in VS 2015 MVC 6 RC1.  I noticed it does it there as well out-of-the-box.I...

View Article

IIS 10 502.3 Bad Gateway...then site loads

I created an empty MVC 6 project and gradually added features  (MVC, initialized my own bower.json file etc) to it to see how the new VS 2015 project tooling/structure works.The first time the site...

View Article

Name Confusion

View Article


Join two tables if many to many relationship

Hi developer,I am new Asp.net 5 with latest version.I am following the instruction as below:http://docs.efproject.net/en/latest/modeling/relationships.html#many-to-manyIn PostController.cs:[HttpGet]...

View Article

ASP.NET 5 Identity with one table and 4 columns

I creating an ASP.NET MVC 6 application which uses Identity with Entity Framework on SQL Server. By default, it creates 5 tables in the databaseAspNetRoles AspNetClaims AspNetLogins AspNetRoles...

View Article


IIS6 .NET core

As .NET core will not rely on an installed framework, could we use IIS6?Logically if the framework works higher up on the HTTP pipeline then I would expect it to be a possibility , but after looking...

View Article

Problem with static files. ASP.NET 5 + Docker

Hi. I've problem with static files in my asp net 5 app. Starting my app on Windows  through Visual Studio using DNX everything looks perfect. But on Debian running Docker my app can't access any files...

View Article


I do not want to go down when the page postback

There are the page 3 checkbox when clicked the checkbox I do not want to go down when the page postback how can I do that

View Article

Unable to create an ADODB Connection

I have to deal with some legacy code and it looks like creating an ADODB Connection in ASP.NET 5 is not possible do to the following exception:System.URI.FormatException: {"Invalid URI: The URI is...

View Article

Angular 2 Observable not working

The code works for _collectionObserver although not for _itemObserver. What I am trying to achieve is share the selected item from AppComponent from where the DataService is called and display the...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>