Asp.net – How can I solve this problem in Visual Studio?
How can I solve this problem in Visual Studio? When I try to create a new class, it gives the same error
How can I solve this problem in Visual Studio? When I try to create a new class, it gives the same error
I experimenting with.net 8 aspire currently. I am following Microsoft documentation. I did a simple project with Backend api, frontend, and Redis cache. var builder = DistributedApplication.CreateBuilder(args); var cache = builder.AddRedisContainer("crediscache"); var weatherapi = builder.AddProject<Projects.WeatherApp_Api>("weatherapi"); builder.AddProject<Projects.WeatherApp_Web>("frontend") .WithReference(weatherapi) .WithReference(cache); All works…
I am using Clean Architecture web API in .NET 7. I need to employ the Database-First Approach because I am utilizing an existing database. However, I am creating the web API project from scratch. To do that, I also need…
How to fix 'Unable the find the project that contains {path}' when running c# code in VScode. I have recently created a new c# project using dotnet new console But when running using the run button in the top left,…
Our project, which is built on .NET 8, is encountering an issue when trying to connect to our SQL server (version 11.0.5058). The Docker file for our project is as follows: FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime WORKDIR /app EXPOSE 80 ENV…
I am running a 32-bit ASP.NET application using .NET Framework 4.8. I am getting the following error when starting the application: error CS1504: Source file 'c:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Files...xxx.cs' could not be opened ('Unspecified error ') What I have tried Running…
We have an asp.net webform appliation. In A.aspx page, we have code as below. protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { Thread.Sleep(1000*30); } } B.aspx is just a normal page without anything spceial. It is a very…
I am hosting a serverless docker app in AWS Lambda this is a .net 8 (however 6 and 7 and even beanstalk behaved the same). The app is .net lucene (4.8 which is in beta) search (index is quite small…
I had dotnet-sdk-7.0 installed and everything worked perfectly. Yesterday I installed dotnet-sdk-8.0 from the Microsoft package repository removing the existing .NET packages from my distribution first: sudo apt remove 'dotnet*' 'aspnet*' 'netstandard*' And now Rider cannot run my project. My…
Hi Folks i have one field Price and it has Custom datatype i.e. Class that represents a currency which has properties i.e. CurrencySymbol, CurrencyCode and CurrencyValue. And i want to apply sorting on Price by its value. Can someone please…