ASP.
I am attempting to upload an image using MVC 6; however, I am not able to find the class HttpPostedFileBase. I …
asp.net-core-mvc httppostedfilebaseI have gone through the http://restsharp.org/ code which work greats. Below is the code of RestSharp with out …
c# asp.net-core asp.net-core-mvc restsharpWhen I run my asp.net core 2 projects I get the following error message: InvalidOperationException: Unable to resolve service for …
c# dependency-injection asp.net-core asp.net-core-mvc asp.net-core-2.0In ASP.NET MVC 5 you could throw a HttpException with a HTTP code and this would set the response like …
c# .net asp.net-core asp.net-core-mvc httpexceptionIn Web API 2, you used to be able to create an endpoint to issue a token by setting up an …
asp.net oauth asp.net-core asp.net-core-mvcBeing fairly new to ASP.NET Core 1.0 MVC, I have decided to use a Repository Pattern for an MVC Core …
c# asp.net-mvc asp.net-core-mvc repository-patternI have the following class public class MyEmailService { public async Task<bool> SendAdminEmails() { ... } public async Task<bool&…
asp.net-core asp.net-core-mvc quartz.netTo learn more about the new exciting Asp.Net-5 framework, I'm trying to build a web application using the newly …
c# asp.net-mvc asp.net-core asp.net-core-mvcI have a generic repository in my project. Consider the following controller snippet public class Lookup1Controller : Controller { readonly MyDbContext _…
generics dependency-injection asp.net-core asp.net-core-mvcI have a ASP.NET MVC 6 (beta-4) app. public void ConfigureServices(IServiceCollection services) { // Logging services.AddLogging(); // ... } public void Configure(IApplicationBuilder …
c# logging dependency-injection asp.net-core-mvc