asp.net-core-1.1 Questions

2

Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered a fatal error. The address of the error was at 0x641ad419, on thread 0x5d0c. The error code is 0xc0000005. Th...

11

Solved

After a lot of struggling (and a lot of tuturials, guides, etc) I managed to setup a small .NET Core REST Web API with an Auth Controller issuing JWT tokens when stored username and password are va...
Gerrit asked 8/9, 2017 at 8:41

17

Solved

I'm trying to upgrade the following template project to ASP.NET Core 1.1: https://github.com/wilanbigay/aspnet-core-aurelia-typescript-starter After running dotnet migrate the project.json file ha...
Bdellium asked 15/12, 2016 at 17:14

4

I am working on migrating my ASP.NET 4.6 framework code over to .NET Core. I'm only in the learning phase at this point. I'm new to MVC as I've always used WebForms, but I want to move away from We...
Cotidal asked 20/4, 2017 at 19:24

3

Solved

I'm using Configuration Binding in an ASP.NET Core 1.1 solution. Basically, I have some simple code for the binding in my ConfigureServices Startup section that looks like this: services.AddSingle...
Improvident asked 2/2, 2017 at 16:15

6

Solved

I'm using Visual Studio 2017 for mac with dotnet Core and EF Core. After setting up the mssql image in Docker container , I was trying to add the connection string but throwing connection error. I ...
Understanding asked 16/8, 2017 at 11:17

4

Solved

I'm having a problem that when I try to access a field in my PartsDbContext I get the following error: System.Data.SqlClient.SqlException: 'Invalid object name 'fieldName'' It seems that this...
Orian asked 3/5, 2017 at 18:53

4

I'm using Visual Studio 2017 RC and started a new ASP.NET Core project targeting the full .NET Framework. This line of code will not compile. dynamic handler = _container.GetService(handlerType)...
Waistcloth asked 2/12, 2016 at 10:32

3

Solved

I have an ASP .Net Core 1.1 Web API and Web App running on my localhost from Visual Studio 2017 on Windows 10. When I run the projects, the API runs on http://localhost:50082/api/ and the web app ...
Chavannes asked 17/7, 2017 at 14:45

2

I am using the .Net Core 1.2 with Amazon SES(SimpleEmail) to send the Emails(Raw Emails). Below is the working code version we have used in .net framework 4.5: public MemoryStream ConvertMailMe...
Superclass asked 4/8, 2017 at 4:12

11

Solved

I have a beginner ASP.NET Core project in Visual Studio 2017, and I am at the scaffolding step of the HelloWorld. The Scaffolding does not work, I tested on a first computer, then at a second one.....

6

Solved

I am getting an error while adding 'AddSession' in ASP.Net Core 1.1 using VS2017. 'IServiceCollection' does not contain a definition for 'AddSession' and no extension method 'AddSession' acc...

3

To my Visual Studio 2017, ASP.NET Core, MVC web project I just added the Microsoft.TypeScript.MSBuild NuGet package v2.3.1, and simultaneously updated my ASP.NET Core assemblies from 1.0.* to 1.1.1...

3

Invoking a View Component as a Tag Helper was introduced in ASP.NET Core 1.1. (See “Invoking a view component as a Tag Helper”). But the following only returns the Test for VC part of the view. It ...

3

Solved

I'm using the .NET Core 1.1 in my API and am struggling with a problem: I need to have two levels of configurations: appsettings.json and environment variables. I want to use the DI for my config...
Biforate asked 4/9, 2017 at 13:53

1

I have implemented JWT Bearer token base authentication and authorization. I am using the below code for destroying the JWT token or logout the current user but it's not working. //var claim = _ht...

4

Solved

I try to POST to the SetLanguage action via a link, but not sure how to finalize the following code: <form id="selectLanguage" asp-controller="Home" asp-action="SetLanguage" asp-route-returnUr...
Lodi asked 11/9, 2017 at 12:35

2

I have two Web Project. First of them is created about 2-3 weeks ago. Second of them is created today. I want to add Web Reference to the second web project. First old Project Solution View Second...

4

In an ASP.NET Core project I have to display a (readonly) date in a specific format (say "dd/mm/yyyy HH:MM") <div class="form-group"> <label asp-for="Date" class="col-md-2 control-label"...
Considerate asked 19/7, 2017 at 17:19

1

I'm running on ASP.NET Core 1.1 where in my Startup.cs I configure Policies, as well as DistributedMemoryCache, like this: var roleRepo = new RoleRepo(Configuration, new MemoryCache(new MemoryCach...
Caernarvonshire asked 2/10, 2019 at 14:36

2

Solved

I have class AbClass that get with asp.net core built-in DI instance of IOptionsSnapshot<AbOptions> (dynamic configuration). now I want to test this class. I'm trying to instantiate AbClass ...
Candicandia asked 12/12, 2016 at 23:21

4

Solved

I tried to publish my ASP.NET Core application on Windows Server 2008 R2 but I get this error: "An error occurred while starting the application." Without any more description! What can I do?

2

Solved

I follow the Globalization and localization and Building simple multilingual ASP.NET Core website tutorials to add a language switch for my application. So, I created a partial view @using Micros...
Vilmavim asked 24/7, 2017 at 14:13

3

Solved

I am trying to add Globalization to an Intranet application, using a cookie to allow users a culture preference. The middleware is set up and running but I have run into an issue with appending to ...
Pip asked 1/2, 2017 at 11:10

5

Solved

I want to utilize Angular 4 in my ASP.NetCore 1.1 project, within Visual Studio 2017 (read as: *.csproj file) Previously with ASP.NET Core 1.0 and Visual Studio 2015, you could simply add AngularJ...
Dick asked 21/6, 2017 at 18:57

© 2022 - 2024 — McMap. All rights reserved.