asp.net-core-2.2 Questions

2

I seriously need help to create my yml build file because I cannot find any good tutorial, sample or other king of help anywhere. I always get similar error: See the warning, it seems my build arti...

1

Solved

I wrote a ASP.Net Core 2.2 application. Everything works fine when I run it on my dev machine. I have published and deployed it to my staging machine as a self-contained application. The TargetFr...
Hibernate asked 25/6, 2019 at 20:27

1

Solved

So I have followed microsoft's official guide (https://learn.microsoft.com/el-gr/aspnet/core/security/data-protection/implementation/key-storage-providers?view=aspnetcore-2.2&tabs=visual-studio...
Paderna asked 11/6, 2019 at 4:19

1

I moved a part of a view into a partial view. _ViewImports.cshtml @using AsonCore.Helpers @using AsonCore.Models @namespace AsonCore.Pages @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers ...
Calderon asked 31/5, 2019 at 8:28

1

Solved

In one of my controller actions, the first thing I do is pass the model to a new action that essentially just parses input to determine whether or not the user entered a valid date. The model is th...

2

Solved

If I use newly introduced InProcess hosting model in ASP.NET Core 2.2 as follows: <PropertyGroup> <TargetFramework>netcoreapp2.2</TargetFramework> <AspNetCoreHostingModel&gt...
Schuss asked 19/12, 2018 at 7:19

1

I have an ASP.NET Core 2.2 application running on multiple instances on an Azure Web App; it uses EF Core 2.2 and ASP.NET Identity. Everything works fine except the Password Reset flow where a use...

0

As many know, it is recommended to use a proxy server for web apps served by an application server. Also, it is recommended to use the proxy to serve static files. For "normal" .NET Core apps the...

1

After installing the Swashbuckle.AspNetCore in my Asp.net Core (MVC) application the default route is override with "index.html" page. Where ever I used "~/" now is redirecting my application to "...
Appassionato asked 30/1, 2019 at 20:1

2

Solved

What i want to do is develop an algorithm to calculate which known locations are closest to the selected location. Let's say i have 7 locations in the database and when the user selects one, he sho...
Rachellerachis asked 13/5, 2019 at 11:46

1

Solved

I am using asp.net core 2.2 default web site template and authentication selected as individual user account. How can i create an "Admin" role and assign it to a user so that i can use role in cont...
Disruptive asked 5/5, 2019 at 16:29

1

Solved

My swagger ui shows "Parameter content type" with various entries: "application/json-patch+json", "text/json", "application/json", and "application/*+json". I only want "application/json". There'...
Grimona asked 3/5, 2019 at 23:11

1

I am trying to change my old domain to new one and I have huge data on my website. I need to change only my domain by url rewriting. When I request: www.myolddomain.net/article/seo-friendly-url-...

1

Solved

I am trying to get 405 errors when a valid route is supplied but the HTTP method is not found. Currently, the application returns 404s as it requires both the route and method to match on the funct...
Brahmani asked 19/4, 2019 at 9:45

1

Solved

I've updated my project from .net core 2.1 to 2.2 and then logging.AddAzureWebAppDiagnostics() in Program.cs no longer works. public static IWebHost BuildWebHost(string[] args) => WebHost.Cre...
Burnett asked 28/2, 2019 at 17:0

2

Solved

In the documentation here: https://learn.microsoft.com/en-us/aspnet/core/mvc/views/view-components?view=aspnetcore-2.2 The runtime searches for the view in the following paths: /Views/{Controll...
Alber asked 17/4, 2019 at 6:24

1

Solved

Here is my scenerio. I want to use background task to send newsletter to subscribed users. This is done by MailService, which has UnitOfWork as dependency. I tried the solution from learn.microso...

1

Solved

I have a hard time using Quartz 3.0.7 with ASP.NET Core 2.2 after I have defined two jobs that rely on a scoped service (ScopedDataAccess) that is a wrapper upon my database context: services.AddS...
Demogorgon asked 17/3, 2019 at 20:19

2

Solved

I am re-tooling an ASP.NET CORE 2.2 app to avoid using the service locator pattern in conjunction with static classes. Double bad! The re-tooling is involving the creation and injection of Singlet...
Plagiarism asked 5/3, 2019 at 23:54

1

Solved

Project details: ASP.NET Core 2.2 MVC Identity I created an own login view. Actually if I call a view, for which I have to be authorized (by authorize attribute), it will automatically redirect...

1

Solved

This feature was working by default in ASP.NET Core 2.1 but not with the currently latest 2.2. I've just created two basic ASP.NET Core API projects in Visual Studio 2017 (Community Edition), one ...
Feverroot asked 21/12, 2018 at 15:20

1

Solved

My Razor page looks like this. @using Microsoft.AspNetCore.Mvc.Localization @inject IViewLocalizer Localizer <h1>@Localizer["Index"]</h1> ... My Startup.cs contains the following. p...
Breakthrough asked 13/2, 2019 at 21:10

1

Solved

Googled a bit but couldn't find the .Net standard version for .Net core 2.2. Only version I got is, Any hint please?

2

Solved

The structure: + MyProj + Areas + Configuration - Pages - ConfigurationApiController.cs To create controller without Controllers folder was proposed by VS2017 and it is ok for me since I use...

2

Solved

Asp.Net Core released version 2.2 and together with it comes HealthChecks feature. (Read more). One of the features it has is to push health check results to Azure Application Insights. But I have ...
Articular asked 17/1, 2019 at 16:24

© 2022 - 2024 — McMap. All rights reserved.