-
Hello, i am new developer with asp.net, but many years deveopment experience with Java, PHP. When i tried to understand asp.net , and try to design and develope a real business web app. It's hard works. For example, If we development a Online Store system. We need build the (Admin, Sales, Customer, Front) module for each targed user. The simple MVC of asp.net not well support for this. There should be ( [Module, Controller, Action] + Data Model Layer + RPC + Tools) design Module: each big part should be orgnization under module. Controller : real business, such as [payment, GiftCode, account, product list, product detail] Action: make a billing, find the post code, chat with the sales. send forget password. Data Model Layer; Accees the MySQL, Postgres, Redis, RPC: call other internal or third party service. Tools: send email, send sms notify, price calculator, event bus Asp.net missing these part. User may found it is hard to build a success web app within Asp.net, Too many things to do with it. But the Ruby On Rails, and Spring boot / Spring cloud provide much more power to deal with these. See spring boot family May tools and modules can help us. What's next to go , Asp.net. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 10 replies
-
In my very honest opinion you are absolutely correct in this respect. I have two blog posts on this subject which should not have been needed to be written.
It's unfortunate that we lost the ability to be modular when the team moved away from OWIN. |
Beta Was this translation helpful? Give feedback.
-
@damianh another problem may be : the core team member have no experience to write a huge web app, (like Amazon, NewEgg) So they can not figure out what need to do if we want to build such a project. |
Beta Was this translation helpful? Give feedback.
-
@netroby thanks for contacting us. We provide some guidance on how to structure large applications that you can review here as well as here. For a general entry point you can check here With regards to "modules" it is a very overloaded concept, but one way to map it is 1 module 1 assembly, MVC will pick modules from class libraries without issues. WRT your comments on controllers and actions I agree with you, but that it's up to the app developer. The guides referenced above should provide more detail and come with a reference sample project that details it. See it here For RPC we provide support for building REST APIs and gRPC services and we automatically generate clients for them. You can expose REST APIs using Open API to integrate with other third-parties. See here for gRPC and here for REST APIs with Open API For Data access there are multiple solutions out there with support for a wide range of providers, including the most common ones. We build and ship an ORM (Entity Framework) and there are other community based options available like NHibernate or Dapper amongst others. See here for EF docs. With regards to "tools" there are many open source projects you can leverage like MailKit for sending email or mass transit for service bus or commercial offerings from Microsoft like Azure Communications Service or Azure Service Bus as well as commercial offerings from third parties. I hope this helps bringing some clarity to some of the options that you have available in the .NET landscape and help you with some of your questions. |
Beta Was this translation helpful? Give feedback.
-
[Architecting Cloud Native .NET Applications for Azure] If you means this guide, I will not mark it as answered. Title may told us: For Azure. If without the Azure, how could we do? The other link i had already checked, thanks for put them all in one answer. Asp.net will got better and better, we should focus on developer experience. |
Beta Was this translation helpful? Give feedback.
-
I can see each article contains words [Cloud native, server less] The real world web apps may not ready for this advance architecture. Should it be more stable for current enterprise development? Yes , you can clould ready. but still gave us time to convert or stay with behind. No, company not ready for cloud native. Your advance architecture too new to adopt for us. |
Beta Was this translation helpful? Give feedback.
-
I really understand, there be huge walls between the .net core development team and (us , the real world programmer, company) |
Beta Was this translation helpful? Give feedback.
-
Hi @netroby I am the owner of Brighter, an OSS project that supports a range of middleware transports for messaging. Can’t fix all your asks, but we can help with that one. Hopefully you will find out approach easy if you have learned ASP.NET https://github.com/BrighterCommand/Brighter and there are others in the same space as us. |
Beta Was this translation helpful? Give feedback.
@netroby thanks for contacting us.
We provide some guidance on how to structure large applications that you can review here as well as here.
For a general entry point you can check here
With regards to "modules" it is a very overloaded concept, but one way to map it is 1 module 1 assembly, MVC will pick modules from class libraries without issues.
WRT your comments on controllers and actions I agree with you, but that it's up to the app developer.
The guides referenced above should provide more detail and come with a reference sample project that details it. See it here
For RPC we provide support for building REST APIs and gRPC services and we automatically generate clients for them. You …