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

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


What is Microsoft's plan for ASP.NET Web Pages?

I'm a big fan of Web Pages, we built our whole Enterprise Resource Planning ERP with Web Pages using the VB.NET language.Since the last version of Web pages is from February 2015, I wonder what...

View Article


HttpContext not having support for SetFeature in ASP.Net 5 RC1

HttpContext not having support for SetFeature in ASP.Net 5 RC1 public async Task Invoke(HttpContext context) { //..........// var errorHandlerFeature = new ErrorHandlerFeature() { Error = ex, };...

View Article

Migration from SHA1 to SAH2 Asp.net 4.5,C#

Hello,We have one ASP.NET web application which is build in .net framework 4.5 version. Currently on production this application is using SHA1 encrption alogorith.This alogorithm is set in "MachineKey"...

View Article

Is VirtualPathProvider still there in MVC6 ?

Hi,We have a multi-tenant MVC platform (Website builder type project) that uses VirtualPathProvider and custom view engine heavily. I'm wondering whether we can make any benefits out of the MVC...

View Article


Asp.Net 5 Profile property and its allowAnonymous

Hello,Can I use profiles in Asp.Net 5? How in web.config? Does Asp.Net 5 (Web Api Service + Angularjs) recognize my profile properties in web api service.Does Profile property's allowAnonymous="true"...

View Article

AspNet on Kestrel server stress test failure

Hi,im testing of very simple Web API application running on Kestrel server.Application does simple xml read/parse and return an object (json/xml). A test client application(siege) does a series of...

View Article

Showing Images

I am doing a web project that will allow users to upload images.  I am doing this by saving the images to the filesystem and saving the path and other info to a database.   To save the path I am using...

View Article


Publish Dialog not Showing Up

When I right click on my ASP.NET 5 project and hit the "Publish" option, the Publish Dialog does not come up and nothing seems to happen. I tried this with a completely new project from the ASP.NET 5...

View Article


remove X-Frame-Options: SAMEORIGIN from response header

When I'm using ASP.Net 5 RC1 and MVC 6 there is always a X-Frame-Options: SAMEORIGIN in the response header . Unfortunately I have to embed this page in SharePoint. How to remove X-Frame-Options:...

View Article

Question marks instead of hebrew characters

Question marks instead of Hebrew charactersI'm using MVC 6 for Hebrew site. In the model classes I was insert display name for the properties. But when I run the site I get the display name as question...

View Article

Windows Authentication in ASP.Net 5 MVC 6

In ASP.Net 4.5 MVC 5 if I wanted to use Windows Authentication I would just add the lines<authentication mode="Windows"></authentication>in the web.config and setup IIS for Windows...

View Article

caching frameworks for .net 4.5.1 [.net core (dnx), Asp.net 5]

We are trying to build an application in asp.net 5 which is built on .net core. What are the in-memory caching options available to us. We tried creating a POC using Redis (open source caching server),...

View Article


waiting for localhost

Hi,My ASPNET5 app used to work but now when I publish it to local IIS (or remote) it never starts. I can run it in VS without problems.I tried with new app and it works so I guess HTTP platform handler...

View Article

Maintain the global variable periodic

Recently, I created new ASP.NET 5 Web API project.  It will call other third part RESTfull Web API with token. So  that I need to maintain the token for each fixed time(I plan to use the Timer to...

View Article


Adding WCF Service in ASP.NET 5 MVC 6 Application

Can someone tell me how to add a WCF Service to Asp.Net 5 MVC 6 application? I have searched for it but not found anything related to it.Thanks,Aravind.

View Article

ASP.NET exceptions and stack trace in browser

Newbie question - Is there a way to set customErrors to "Off" with an ASP.NET 5 application so that the exception and stack trace are displayed in the browser?

View Article


ASP.NET 5 RC1 Update 1 with .net 4.6.1

HiIs it a known issue that ASP.net 5 is not working with .et 4.6.1 ? I just create a new project form the template and change the framework to .net 461 and it doesn't start anymoreso the frameworks...

View Article

MVC 6 Grid View Error : HTTP Error 502.3 - Bad Gateway

Hello,I have implemented MVC6 Grid view in my project using below code:https://github.com/NonFactors/MVC6.GridWhen I run my project it is throwing below error message:HTTP Error 502.3 - Bad Gateway The...

View Article

Can someone help me with naming confusion?

We've been building a new ASP.NET 5 MVC 6 application using .NET Framework 4.6.1 which runs on Azure.We're NOT concerned about cross platform compatibility, etc. We'll run our app on Azure. I'm...

View Article
Browsing all 9386 articles
Browse latest View live


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