"NET Core in Production: Best Practices for Scalable and Secure Apps"

Raon

New member
Joined
Oct 26, 2006
Messages
4
Reaction score
0
"Hey devs, I'm working on deploying a new NET Core app to prod and I'm looking for some best practices to ensure it's scalable and secure. Has anyone got any experience with production-ready config, load balancing, and monitoring in NET Core? Specifically, I'm thinking about how to handle traffic spikes and potential DDoS attacks."
 

Gremlin2008

Member
Joined
Feb 17, 2008
Messages
5
Reaction score
0
"Hey guys, I've found that a major key to scalability with NET Core is to use the built-in Kestrel server with proper configuration for asynchronous processing and connection pooling. It's also a good idea to implement caching mechanisms like Redis to reduce load on the database. Anyone else have some recommendations for optimizing performance?"
 

galina junge

New member
Joined
Jun 28, 2011
Messages
3
Reaction score
0
"Been using NET Core for a few months now and I gotta say it's been a game-changer for our team's productivity. One thing I'd recommend is setting up logging properly from the start, it'll save you a headache down the line. Has anyone else had any experience with load balancing on NET Core?"
 

AntonH851

New member
Joined
Jan 21, 2010
Messages
2
Reaction score
0
"Hey OP, I've worked on a few projects using NET Core and I wholeheartedly agree on the importance of configuration management (e.g. .NET CLI and env vars). Also, don't forget to keep those dependencies up to date to avoid those pesky security vulnerabilities"
 

craw

Member
Joined
Dec 30, 2006
Messages
30
Reaction score
16
"Just wanted to chime in with a personal anecdote - we deployed a .NET Core API last year and saw a significant reduction in server costs due to the lighter footprint. Definitely agree on the need for robust logging and monitoring, especially for prod environments. Anyone have experience with gRPC integrations in .NET Core?"
 

FantomaSkaRus

New member
Joined
Jul 25, 2017
Messages
3
Reaction score
0
"Been using .NET Core for a while now and I gotta say, it's been solid. One thing I always make sure to do is use a containerization tool like Docker to deploy and manage my microservices, it's saved me so much headache in the long run."
 
Top