spit on that Thang CHO BOC
BL - UserManager custom role
Let's say when registering a new user to the web api. For my use case (since I am doing role based access priority) I need to create a default role "User" I wonder how it is done normally.
I am thinking about doing it directly inside the program.cs in the server side
In my last project I did it like this hardcode alongside admin user
2 replies
Basics (How does an enterprise do it?) DAL Entity mapper
Currently I am doing a web app since my last small project in the same field (web app in C#)
I wanted to ask a difference between (In DAL or even BL)
I will be doing my entities like this
If something like... maybe abstract class or something else would work well.
I have another question in my last project i was using AutoMapper for my BL mapping. What I heard was Mapperly being faster if you can give some insight.
and also to challenge myself for future proofing what would be the most common enterprise environment solution would have been? (if they even chose C# at all)
21 replies
✅ Correct approach and used in real life OLTP -> OLAP ETLCode first approach!
Hello I am trying to learn on making my very own business Web app it can contain many modules like grocery app, self checkout, restaurant app with OLAP features like getting interesting pie charts and other telemetry... I have done my own OLTP already but there seems to be almost non existent C# tutorials on how to create ETL the Datawarehouse code first approach.
I was looking up BI snowflake but it looks like it's for people that already know what they are doing amd it's not code first.
Any suggestions?
I am currently asking these same questions in GPT O1 model so i would like to double check everything before I start doing things. Also note i have not seen any materials for doing OPS systems also...
33 replies