r/aspnetcore • u/DotNetCSharp • Mar 04 '21
r/aspnetcore • u/ChallengeBulky4717 • Jul 21 '25
Github copilot is scary
I just finished "Introduction to GitHub Copilot" training on Microsoft. It's so scary as I am working as a software engineer. Myan, I am thinking, what can't it do in terms of coding? I worry that AI will eventually replace developer's jobs sooner than expected. It definitely helps me in coding atm but definitely killing silenctly.
r/aspnetcore • u/sreejukg • Apr 26 '23
System.Net.Mail.SmtpClient is not recommended anymore; what is the alternative?
self.sreejukgr/aspnetcore • u/esamcoding • Jul 16 '22
How to get an instance of Dbcontext in my POCO ?
In my asp.net core 6 razor pages web app i have a class that read and write application options. the class is POCO.
In program.cs file i want to get an ApplicationDbContext instance so that i can configure my options class to use it throughout the program lifetime. how?
in fact i want to know how to get an instance of any interface implementation that is added to the ServiceCollection.
r/aspnetcore • u/[deleted] • May 13 '21
Asking for information
Helllo i got job offer as fullstack developper i m not experienced with .net core used just asp net still have e mouth to prepare for it any good source or projects to build would u share ?! What should i learn more .net core nd JS
r/aspnetcore • u/iammukeshm • Jun 03 '23
Ultimate Learning Resources for AWS & .NET! 🚀
Looking to get started with AWS and .NET? I have you covered! 🚀
I have been writing content on AWS For .NET Developers to help you get started in no time! I have compiled all the resources/articles on this topic.
#0 Get a Free Tier account on AWS.
#1 You need to configure your development machine and .NET applications to authenticate into AWS - Here is how to Configuring AWS Credentials for .NET Applications: https://codewithmukesh.com/blog/aws-credentials-for-dotnet-applications/
#2 Working with AWS S3 using ASP.NET Core. You will learn how to work with AWS's Simple Storage Service and manage your file uploads like a PRO! https://codewithmukesh.com/blog/working-with-aws-s3-using-aspnet-core/
#3 Everyone ❤️ Serverless. This is a getting-started guide to understanding the basics of AWS Lambda written in C#. We will also cover how easy it is to get it deployed to the cloud. https://codewithmukesh.com/blog/aws-lambda-with-net-6/
#4 AWS DynamoDB is a super scalable NoSQL database and works perfectly with .NET Applications. Let's see how CRUD operations are done with it using the AWS C# SDK Packages. https://codewithmukesh.com/blog/crud-with-dynamodb-in-aspnet-core/
#5 Let's learn Amazon API Gateway with the .NET stack to expose AWS Lambdas as API routes to the external world quite easily. https://codewithmukesh.com/blog/amazon-api-gateway-with-dotnet/
#6 Securing Amazon API Gateway with Lambda Authorizer in .NET. https://codewithmukesh.com/blog/aws-lambda-authorizer-in-dotnet/
#7 Hosting ASP.NET Core Web API with AWS Lambda – Truly Serverless REST APIs. https://codewithmukesh.com/blog/hosting-aspnet-core-web-api-with-aws-lambda/
#8 Deploy ASP.NET Core Web API to Amazon ECS – Dockerized Applications with AWS Fargate. https://codewithmukesh.com/blog/deploy-aspnet-core-web-api-to-amazon-ecs/
#9 Deploying ASP.NET Core Web API to AWS Elastic Beanstalk using AWS CodePipeline – Easy CI/CD with AWS. https://codewithmukesh.com/blog/deploying-aspnet-core-web-api-to-aws-elastic-beanstalk-using-aws-codepipeline/
#10 Deploying Blazor WebAssembly to AWS S3 – Static Website Hosting with AWS + CDN with AWS CloudFront. https://codewithmukesh.com/blog/deploying-blazor-webassembly-to-aws-s3/
#11 Securing .NET WebAPI with Amazon Cognito: Serverless Authentication System. https://codewithmukesh.com/blog/securing-dotnet-webapi-with-amazon-cognito/
#12 Amazon SQS and ASP.NET Core for Scalable Messaging. https://codewithmukesh.com/blog/amazon-sqs-and-aspnet-core/
#13 Amazon SNS and ASP.NET Core: Building Super Scalable Notification Systems for .NET Applications on AWS. https://codewithmukesh.com/blog/scalable-notifications-with-amazon-sns-and-aspnet-core/
#14 AWS CDK for .NET Developers – Infrastructure As Code To Provision AWS Resources Easily with C#. https://codewithmukesh.com/blog/aws-cdk-for-dotnet-developers/
Let me know in the comments if you want me to cover other topics.
r/aspnetcore • u/CampKillYourself1 • Jun 19 '20
Coming from ASP.NET MVC seems like a nightmare
Why coming from ASP.NET MVC makes my welcome to the ASP.NET CORE bandwagon entrance so upsetting and uncomfortable?
Basically, even though I used them for various project I always hated all those fancy js frameworks bandwagons where everyone wants to jump on to look cool and sell their work to their customer as the "latest fashion, lastest technology, shines bling a ling". All the DI/IOC cr*p, modular components forced to the extreme, Webpack this, Babel that was like "Hey that's a delicious cake I made for you, open your mouth I will gently shove it in your throat with an hydraulic press".
Then ASP.NET CORE took all the worst and made it his own magic.It became like a js framework. I worked on a full angular project recently. Looked exactly like a damn ASP.NET CORE application. Services everywhere, DI to the extreme etc etc.
The sad thing is that you look as startup.cs file and you get nothing about what it does unless you read a book for each line of service.usethis(), service.addthat()
MVC was much easier, had the job done, and was less of a patchwork of evil geniuses experiments (all the js framework trends), and for me worked so much better.
Now, I know it's my and ONLY MY controversial opinion.I've recently made a huge api (over 4 months of work) all in ASP.NET core with authentication based on JWT/OpenID/KeyCloak, so I've already plunged my hand in .NET CORE fecal matter, with all the caveats, traps, and funny moments.
It's just that I have to use it because my work forcefully requires it, but my stomach aches and gnarls in pain and horror.
Can you explain me what is my problem? Why I hate it so much from the deep of my soul?
Also a tutorial or a good book which not only gives you a grasp on the matter like most do, but actually explains what each line does exists?
Most books I've seen say things like
"Hey use app.UseStaticFiles() it lets you static files! how cool is that? Bye, figure by yourself what it means you idiot, it's easy and you should know it already"
"endpoints.MapDefaultControllerRoute();, hey dude, that is self speaking, do I even need to explain you what it does? Come on!"
Thanks everyone
r/aspnetcore • u/mojoblanco • May 24 '20
How to use Vue Components in your ASP.NET core application
r/aspnetcore • u/reactconf • Dec 10 '23
How to Create CRUD operation using Angular and ASP.NET Core Web API
r/aspnetcore • u/__CheMiCaL_ • Dec 15 '21
How can I use IQueryable in a Join query?
Hello everyone :D
I'm having some problem with my code, i want to use the "IQueryable" in a big Join of 4 tables, bacuse most of these tables has more than 700k records so it takes too much time with the normal Join use. I tried using it and it throws an error :(
this is how my code look like: ( I will add a screenshot of it for better view )
how can i use the "IQueryable" inside this Join??
var ALLInfoForWorkFlow = (from WorkflowDataJoin in portal_IRepository.Get_App_MainOrders_Queryabl()
where WorkflowDataJoin.OrderIDNO == portal_App_Tasks_FollowUp.OrderIDNO
join ReqVacation in requestVacation_IRepository.Get_All_RequestVacation_IQueryable()
on WorkflowDataJoin.RequestNumber equals ReqVacation.RequestNumber
join tu_user in portal_IRepository.Get_App_TU_Users_Ref_Queryabl()
on WorkflowDataJoin.TU_USER_ID equals tu_user.TU_USER_ID
join Sub_Serv in portal_IRepository.Get_App_Sections_Sub_Services()
on WorkflowDataJoin.ServiceID equals Sub_Serv.ServiceID
select new
{
TU_USER_ID = WorkflowDataJoin.TU_USER_ID,
OrderDescription = WorkflowDataJoin.OrderDescription,
OrderIDNO = WorkflowDataJoin.OrderIDNO,
RequestNumber = WorkflowDataJoin.RequestNumber,
App_User_Gender = tu_user.App_User_Gender,
App_User_Email = tu_user.App_User_Email,
ServiceID = ReqVacation.ServiceID,
Step = ReqVacation.Step,
SapID = ReqVacation.SapID,
ServiceName = Sub_Serv.ServiceName,
VacationTypeID = ReqVacation.VacationTypeID,
VacationReasonID = ReqVacation.VacationReasonID,
VacationStartDate = ReqVacation.VacationStartDate,
VacationEndDate = ReqVacation.VacationEndDate,
BranchName = ReqVacation.BranchName
}).FirstOrDefault();

r/aspnetcore • u/frankgriffinye • Dec 25 '22
MVC Architecture
Guys ,I started learning MVC arch.Can you please suggest how can i master MVC and what are some must learn topics for the same ?It will be helpful if you point out the major things that one should learn for MVC .
r/aspnetcore • u/[deleted] • Jan 07 '21
Most Popular Backend Frameworks - 2012/2020 - Statistics and Data
r/aspnetcore • u/thedatacruncher1 • Dec 09 '20
How to Become a Solid Full Stack Web Developer - My Simplified Full Stack Dev Roadmap
r/aspnetcore • u/Caterpillarfox • Feb 21 '23
ASP.NET Core Blazor - A Complete Overview
r/aspnetcore • u/ms_dev11 • Mar 16 '20
why Asp.net core docs are written very bad and confusing?
It is a few months that I came from Java world to .Net I have been reading Microsoft Docs about Asp.net core Identity to implement security and Auth process to a mix project of MVC and Web API application. I found it is very unclear and without any comments in codes without even talk about Identity and Registration a customized user ina MVC project and even without any explanation of how to register a customize a user and register it with Token and Jwt for a Web API project. just talked about register a user in a Razor app with comments in codes. where can I find more clear and explanations about this stuff in ASp.net core from Microsoft? It is making me disappointed to continue this stack ...:((
r/aspnetcore • u/ScarletQuasar • Sep 07 '23
Migrating ASP.NET Identity 2.1 authentication to JavaScript
Hello, currently I am working on a big migration from a .NET Core 2.1 application to Node.js. A database generated by ASP.NET Identity is also attached to it, containing real users. Since last week I am exploring different ways to reproduce the same hashing and comparer that exists in Identity using Node tools but I didn't achieve success yet.
I want to know if there is any kind of official library (maybe?) that reproduce the functionality of ASP.NET identity for .NET Core 2.1 or versions of the hashing algorithms that reproduce the same behavior as Identity.
Briefly, what I need to ensure is:
- Capability of performing a login operation (checking if a provided password matches with the existing hash for the specific user)
- Capability of performing a registration operation (creating a valid hash from a specific password that is compatible with the match checker, for logins).
Any thoughts?
r/aspnetcore • u/never_mind_idgf • Dec 10 '24
Asp Dot Net Core
Hello Everyone, Please Suggest Me The Good Youtube Channel To Learn "Asp Dot Net Core" in 2024.
r/aspnetcore • u/ashraful13 • Aug 18 '19
Get connection string from appsettings.json in DAL layer
r/aspnetcore • u/robertinoc • May 19 '21
📄 PDF Generation with Puppeteer Sharp
📌 Besides surfing the web, you can use web browsers programmatically to automate tasks. Learn how to drive a Chromium browser using Puppeteer Sharp, a browser automation library for C#. Read more...
r/aspnetcore • u/DotNetCSharp • May 29 '21
ASP.NET Core - Implement Audit Trail 🔥👍
r/aspnetcore • u/OrchardCMSnet • Jan 15 '20
Building Modular Components with Orchard Core Framework
r/aspnetcore • u/loganhimp • May 04 '22
How do I get rid of .net6 non-nullable property warnings without bloating my code with stuff that doesn't need to be there?
Consider the following example:
private readonly ILogger<IndexModel> logger;
public IndexModel(ILogger<IndexModel> logger)
{
this.logger = logger;
}
public string ErrorMessage { get; set; }In .net6 projects, this causes Visual Studio to complain about CS8618:
Non-nullable property 'ErrorMessage' must contain a non-null value when exiting the constructor. Consider declaring the property as nullable.
I understand the warning, but there's no need to take action on this since the string will initialize "" (empty) regardless.
I can pragma the daylights out of this but that'll mess up my code which is kind of the whole thing I'm trying to avoid in the first place.
How do I get VS to leave me alone with regard to these warnings? It's supremely annoying...
r/aspnetcore • u/cseigel • Jul 08 '22
What are you using in your c# dotnet core commercial web apps for backend image processing? Like thumbnail creation and determining video length... FFmpeg looked like a good choice but then there is significant documentation regarding it being unavailable for commercial use.
What are you using in your c# dotnet core commercial web apps for backend image processing? Like thumbnail creation and determining video length... FFmpeg looked like a good choice but then there is significant documentation regarding it being unavailable for commercial use.