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

Best sending email library for ASP.NET Core

Hi, I am looking for email library to send email in ASP.NET Core. I read few posts about it in this forum, but I cannot find something like sendgrid or mailgun with GOOD DOCUMENTATION for Core. I hope...

View Article


Can't impersonate windows end user with MVC 6 application

Hi all,I need to get the end user windows Id to do a query on a database in a MVC 6 application.For this, I've set the authentication mode = windows and impersonate = true in my web.config as shown...

View Article


asp.net core AntiXSS

Hi guys,how to do a anti xss in asp.net core ? AntiXSS not support for asp.net core 1.0.any idea?RegardsYam

View Article

Bind my asp.net core app to all URLs

Hi, how can I setup asp.net core web application to bind to all incoming requests? Probably will be running it on kestrel behind IIS for now but later I might chage that. What I need is all requests...

View Article

Where can I find BaseAPIUrl for HttpClient()?

My MVC app needs to call a Web API in the same solution. Since they would have the same base URL I would assume I could get that from some environment variable. Right now I've got it in a config file,...

View Article


How to Replace Built in IoC with my own IoC?

As we all know In asp.net Startup class there is a method ConfigureServices we can add custom Services. Services are made available through Dependency Injection.ASP.NET Core includes a simple built-in...

View Article

Image may be NSFW.
Clik here to view.

Debugging Problem

I built a Web API ASP .Net Core (.Net) project and I'm trying to figure out why it is throwing an error. It has all the same code as our WCF Services, and yet it throws an error that doesn't happen in...

View Article

Image may be NSFW.
Clik here to view.

Can't Add .Net 4.6 Reference

I do this (Visual Studio 2015 Update 3):Create a new ASP.NET Core Web Application (.NET Framework) Select Web API -> OK Right click References -> Add Reference Browse to a DLL compiled with .Net...

View Article


OsX 10.11.6 nightmare

After installing osx 1011.6 upgrade dotnet won't compile.Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]      User profile is available. Using...

View Article


multiple OAuth

There is a LinkedIn OAuth example at https://auth0.com/blog/authenticating-a-user-with-linkedin-in-aspnet-core/How can I add one more auth, e.g. Facebook into this example?What must be changed...

View Article

Microsoft Bugs when using MVC in Area

Hi,I am using AspNetCore 1.0.0 RTM, I have encountered couple bugs when I used Area. The Area in my project structure looks like thisMyProject => Area => Admin => Controllers1. When I right...

View Article

How to initially create identity database tables?

I'm trying out ASP.NET Core on my Mac. I have not done much with .NET for about 6-8 years (web forms) having been working with PHP and Java EE.Most of the projects I work on are web services/APIs for...

View Article

Rendering ViewComponent with ajax don't work in Edge/IE11 - ASP.NET Core

I have a simple ViewComponent works correctly in the browser chrome and Firefoxbut do not work in a browser Edge \ IE 11.The component shows the time (just for example).Chrome and firefox time is...

View Article


Problems with Dependency Injection over MVC

Hello guys,I'm trying to implement the Dependency Injection from Core on my software in order to replace Ninject and update everything to our new technology.Btw, I'm facing a problem on some interfaces...

View Article

N tier architecture

Hi In our company we are going to use Asp.net 5 for our new application. we are going to use angular 2 with mvc .please guide me to create enterprise Level  n tier architecture Application. what are...

View Article


ASP.NET Core View Injection problems

Has anyone tried to use the new View Injection from ASP.NET Core?I'm trying to use straight forward as described on the documentation...

View Article

Multi Language using Speech Synthesizer

<div> I need to read the multi languages texts using Speech Synthesizer .</div> <div> </div> <div>I have loaded the texts (tamil & Hindi) from DB, but...

View Article


How can i add reference to class library project in asp net core project

I have created asp net core project. How can i add class library for this project and where to add the reference in it.

View Article

Visual Foxpro (VFP) Database communication with ASP.Net / C# / MVC using COM

I am using a COM DLL (type library) created using vfp6 in my MVC 4 application for data manipulation with FoxPro DB.  I can able to register the dll successfully using Regsvr32 and also can able to do...

View Article

Replace Alternative method HttpContext.Current.Server in Asp.netCore

using different type alternative forbut not working...HttpContext.Current.Server.MapPath();Alternative--1) string filePath = HostingEnvironment.MapPath("~/email/teste.html"); 2) string filePath =...

View Article
Browsing all 9386 articles
Browse latest View live


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