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

How to refill previously selected values on the criteria dropdown when it...

After viewing the report , there is a back button in report view to go back to report criteria. But when I  going back to criteria ,   how can refill all the criteria value same as before when I had...

View Article


share link for telegram ,...

hiI want to share a link via URL scheme lets say for Telegram, whatsup ,... in any browser .Please help me

View Article


Dynamic breadcrumbs in mvc core

Hi I need some breadcrumb in one page.but I do not know how I can do itfor example :Home/Cat1/product1 Home/Cat2/Product1 Home/Cat3/Product1I see some packages for example SmartBreadCrumb,dntbreadcrumb...

View Article

Existing image file doesn't come in edit view

Hi guys,As previously I discussed, I have a Post model for which I've written CRUD in my admin view. The post model has the following properties.public class Post { public int Id { get; set; }...

View Article

How to target a public property of class T in a model Listvia asp-for ?

public class MyModelClass { public string propertyA { set; get; } public int propertyB { set; get; } }My View uses a List<MyModelClass>  model to load a list of items for editing.I am able to...

View Article


Help needed Image Processing

Hello Team,I am working in Asp.net core 2.1 webAPI and i have a scenario like i get base64 string as input and i need to convert that to an image(jpeg) and need to store the image in different server...

View Article

Help Needed in Logging

Hi,I have implemented logging for my asp.net core 2.1 web API using the following link. In this link example given to write to file system. This works fine. How to log in sqlserver level as well.  i...

View Article

JWT token Help

Hello,i am creating an API with asp.net core 2.1 and using JWT token authorization. My sample is working fine. i will deploying the API in microsoft azure cloud  load balancers.  assume API deployed in...

View Article


datetime issue

HiIn my application a user adds a datetime of when they want something to be display, at present I get the users current time zone, and save the datetime in the database as utc after i have ajusted the...

View Article


How to send a custom error message to ajax call from page hadler

am calling a  page handler method to get the customer details, if any error occurs in the server side then i need to throw a exception with the custom message  to the ajax call. Now the issue is am not...

View Article

Mocking CreateAsync method of UserManager in Identity Core

I am trying to mock the CreateAsync() method of the userManager.I am using ASP.Net Core 2.1.I have mocked the FindByNameAsync() method.I read elsewhere that in Identity 2.0 CreateAsync() method uses...

View Article

ASP.NET Core SOAP and REST authentication

Hello I am creating an API with the 2.2 kernel of asp.net. I have two services (SOAP and REST) and the problem is that I want the SOAP service to be anonymous and the REST service be integrated windows

View Article

How to index dynamically inserted partial view with asp-for tag helpers?

I've scoured the internet today for a solution to this, but have not come up with one.I have a form with an "add" button that allows me to insert rows of a partial view to add more items to my form....

View Article


Memory leak handling on dotnet core running on linux containers

I am trying to allocate memory to my application.When there is memory overflow, there is no exception when I running my application on Linux container (based on 'microsoft/dotnet:2.2-runtime'), but...

View Article

Menu ViewComponent - problem with getting Id to Subcategory URL

Hello,I have another challenge that made me post here after many trials. I have dropdown menu that includes categories and subcategories. I extracted it to ViewComponent and got needed result of view....

View Article


How can I exchange data with asp .net core?

I made a WPF programe yet. And now I wanna to exchange data with the asp .net core for needs upload/download some data. Such as getting user's information from the database, or creating a new account,...

View Article

What was the need to create a separate middle ware for serving static files?

I am setting up a new ASP.NET core mvc project with EF Core. Now, When I read the docs for help in implementation, it always says to create a migration file (.cs) and then update the database with the...

View Article


Multi-language options for dynamic content (from database) in ASP.NET Core MVC

HI guys,I want to make my project in three languages, so the project will be multi-language. I've read about globalization & localization, but they are useful for static content such as menu names,...

View Article

Installed on Win 10 IIS - getting [DefaultAntiforgery] error >> The...

Hi All,I have a Core 2.2 application that works without any issues on all development environments. I have to install the web application on a QA machine (Win 10 -- IIS) for testing, which I did. I am...

View Article

Difference between ViewLocationFormats and PageViewLocationFormats

I am trying to change the paths used for page and partial views in a dotNet Core 2.2 project and found I can change the search paths with the code a bit down. There is both something called...

View Article
Browsing all 9386 articles
Browse latest View live


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