steps to create abp modularity in project [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
Hello I'm beginning to learn modularity and I need an example or main steps for how to create a module and how to link it with the project using ABP framework. I tried searching for some tutorials but I couldn't find any helpful steps

Here is the cli command to add a new module.
To add new module
abp add-module ProductManagement --new --add-to-solution-file
This will create a new module and add the module to your main solution.
To add a existing free module from ABP
abp add-module Volo.Blogging
Here is the documenations link
https://docs.abp.io/en/abp/latest/CLI#add-module
Here is the my Blog post about it : https://blog.antosubash.com/posts/abp-add-new-module

Check the documentation which is very well documented.
The steps are as follow:
They have part contains Tutorial you can begin with. However, I highly encourage you to read all the documentation to understand not only the Modularity, but also the convention they stipulated for the development progress using the framework (they called it best practice), and the built-in libraries they developed. because many things you may need to develop manually they properly developed it via the best way.
They have a book to explain the DDD design pattern you also need to read. as the ABP IO framework is tightly attached to DDD. The book is AMAZING !
They provide the source code which helped me so much to understand many implicit things that are difficult to find in documentation. and also you will have the chance to learn professional coding methods
They have a blog for dispersed topics but I don't recommend it for the beginners
They also have recommended some YouTube tutorial series
Also startup templates that are preconfigured and reviewing them help well to see from the larger corner
prerequisites
Strong knowledge of OOP (c#)
Intermediate level in ASP .NET Core
Overview about DDD (I recommend two videos populated by Steve Smith and Jason Taylor) , also the book they provide is very good
Knowledge about at least one front-end techs Angular, React, Blazor ...etc
Cons
Code missing definition and explanation
QA problems topics are few

Related

Architecture and patterns for developing a custom GUI designer via C# & WinForms [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I only have a vague hint of spec so far, but I'm just testing the waters. I need to create a designer that will be used for creating CBT tasks and workflows. It must cater for custom objects (controls) as well as standard .NET WinForms controls.
I very lightly scanned some papers long ago on using the Visual Studio SDK and deployable design framework, but I can't remember anything meaningful.
I need some resources on building designers in general, with drag and drop, resizing, connectors, and events.
I need some resources on the capabilities of the Visual Studio SDK in regards to my first point.
I would appreciate any recommendations regarding alternative (hopefully open source) technologies and patterns.
I would lurve to write this from scratch, but I can't do that at my client's expense, so I would much prefer to leverage existing artifacts as much as possible.
EDIT: When I first posted, I could not recall that one tool I had in mind was the Visual Studio Shell, which allows me to create a "VS clone", with VS features, but my own branding and DSL type projects.
I have implemented the VS designer in one of my applications, and I'll tell you now - there is not much documentation. Although I achieved a result I am happy with, documentation is slim. Here are some links:
Create And Host Custom Designers With The .NET Framework 2.0
System.ComponentModel.Design Namespace
DesignSurfaceManager Class
There's also the MSDN article called "Extending Design-Time Support".
The only book written on the subject seems to be "Developing .NET Custom Controls and Designers Using C#", which dates back to 2005.
I also find it odd that there's so little information on this subject. Is writing .NET designers unpopular for some reason? It took a while for my exploration of C# to get to the point where learning this subject made sense, and I wonder if I should make the effort.

Is there an open source .NET web form project using DI/IoC? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am currently trying to get my head round DI and IoC.
Blogs and article are all well and good but I'd like to see some real working source code however I am currently stuck with web forms at work for the time being and most open source projects that I know of that are implementing these kind of development practices seem to be based on ASP.NET MVC i.e. nerd dinner.
Can anyone point me in the direction of an open source web form based project that uses DI/IoC?
The MSDN page for Unity contains a tiny web project. It might not be as big a project as you're looking for, but it's really clear and should help with understanding.
Take a look at n2 cms it's an open source CMS
I strongly recommend ninject and the guide that comes with it.
There are a few reasons why I make the recommendation. First, because it is how I learned about using actual IoC containers. Second, because the guide is very strait forward with examples using poor man's DI, to using ninject, to some of the really cool things you can do with ninject. Lastly, ninject is one of the easier to work with OSS IoC containers and it doesn't need xml configuration.
That said. Once you get confortable with ninject, make sure you check out Structure Map and castle windsor
Also get familiar with the singleton pattern, because it adds a lot of value to what you will need to do with inversion of control and without it, a lot of the IoC features may not seem valuable.
Once you have a feel for what an IoC container can be useful for, you will know where you can use one in your ASP.NET applications. As for specific examples, why not create one after you learn?
What about Spring.NET? I've used it successfully on ASP.NET (non-MVC) projects, it works very well. While I can't point you at a specific project which uses it, it is pretty well documented and has many samples.
Take a look at Sharp Architecture. It has a sample project (Northwind) withe DI
http://code.google.com/p/sharp-architecture/
Take a look at the Web Client Software Factory

Where can I find the source for a small, well-designed C# application (for learning purposes)? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Can anyone direct me to a smallish C# application that would be symbolic of the "right way" to design a program? I'm looking for a relatively simple (potentially trivial) program from which to analyze and learn.
The application should have a relatively trivial problem to solve and should solve it in a rather straight-forward way while showing off best practices/good object oriented design.
I've been studying C# rather a lot of late, and while I'm becoming confident in my understanding of parts of the .Net framework and the C# syntax, I'm having difficulties with the general concept of design and how a project fits together.
Thanks for any sources you can provide!
There are plenty of projects on this site:
http://www.codeplex.com/
First, take a look at the previous question on this topic. It's at https://stackoverflow.com/questions/143088/open-source-c-projects-that-have-very-high-code-quality-to-learn-from.
To that list I would add:
ASP.NET MVC Storefront (MVC
reference)
SubSonic
Rawr (good Windows Forms app)
All of these are on Codeplex.
A great project that is object oriented and uses best practices is SharpDevelop. You can download the source here: http://www.icsharpcode.net/OpenSource/SD/Download/. It's actually an IDE, so you can use it to write your code too.
I downloaded the source, loaded it up in Visual Studio, compiled it, and ran it in Debug mode... all in about 5 minutes without doing any special setup!
The only catch is that the solution itself is not very small, but is broken into a lot of small projects, so that is why I am recommending it.
You can download something like BlogEngine. If you download the full source version you can set break points and walk thru the code and see how they implement things.
Otherwise there are a ton of projects on codeplex.
Microsoft has a great library of this stuff:
ASP.NET Quick Start Tutorials
ASP.NET Starter Kits and Community Projects

What are some best practices / conventions / guidelines for ASP.NET or C#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Long ago I read a great book on C# and Visual Basic best practices:
Practical Guidelines and Best Practices for Microsoft Visual Basic and Visual C# Developers
by Francesco Balena, Giuseppe Dimauro
(source: dotnet2themax.com)
This book was very helpful to me in its time, which dates back to ASP.NET 1.1. Please list some current best practices for ASP.NET, C#, and Visual Basic. And if you've read the book, what are some best practices or guidelines within it that you feel have been outdated?
For C# and .Net in general I'd highly recommend picking up Krzysztof Cwalina and Brad Adams' book "Framework Design Guidelines". That book along with running my code against FxCop and the ReSharper Code Analysis has really helped me keep my code clean and lean
It is hard to list all good practices at once. But here is a starting list.
Always start developing your pages by disabling state management features like the view state and session. Enable them only if they are absolutely necessary.
Know the ASP.Net page life cycle.
Don't mix up html markup with code and javascript.
Embed web resources like images and java script files in a .Net assembly.
The Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries by Krzysztof Cwalina and Brad Adams is probably the best resource out there. While the book emphasizes of reusable libraries you can easily tailor the guidance to standards projects.
Brad Adams (one of the authors of the book), also blogs about many of the rules frequently.
C# and VB coding Standards Reference documents
For coding style, look at Clint Edmonson's C# and VB coding Standards Reference Documents.
Two good resoruces for ASP.NET specific guidance is the MSDN Security Guidelines: ASP.NET 2.0 and the ASP.NET Coding Standards published by the Victoria, Australia's Department of Eduction and Early Childhood Development.
Finally, SSW (another group in Australia) has a great section called SSW Rules to Better... which has all kinds of rules for different development activities.

C# Common Library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm hoping to find an open source .net common library, but I'm having a hard time finding one.
What I'm looking for a is something that contains : Logging, Caching, String Manipulation, Config Reading, ext?!?.
Do you know if anything like this exists or is this more likely something that I will need to create myself?
Use Microsoft Enterprise Application Blocks
Get it from here
http://msdn.microsoft.com/en-us/library/cc467894.aspx
Source code here
http://www.codeplex.com/entlib
Microsoft Enterprise Library - Built by Microsoft, source code is available
Spring.NET - Open source development framework
Kev:
Just a bit more elaboration, I've spent quite a bit of time trying to reuse code from other frameworks:
Here is a breakdown based on feature sets:
Infrastructures frameworks( config, logging, caching, etc)
SpringFramework.NET - ( Port of the popular Java SpringFramework )
Microsoft Enterprise Library - Microsoft "answer" to SpringFramework.
Frameworks providing ActiveRecord or Ioc(Inversion Of Control) or Code generation:
Castle Project
http://www.castleproject.org/index.html
SubSonic
http://subsonicproject.com/
NetTiers
http://nettiers.com
Finally, you may find many other smaller libraries, frameworks on CodePlex.com
Some that are of note:
CommonLibrary.NET
http://commonlibrarynet.codeplex.com/
DotNet Commons
http://dotnetcommons.codeplex.com/
All that is built into the framework, so all you really need is mono.
Check Nido Framework too
Nido is a code framework, a common project, an architectural pattern, written on Microsoft .NET/C# 4.5, to help software engineers to develop their systems faster.
Other than automatically building/ architecting the back end code for you.. it also help you in
Handling of log-in exceptions, display user friendly messages, tracking errors.
Tracking changes done to important data items which is also called audit trails
Validating records and encrypting sensitive data to protect their privacy
Controlling complexity by mean of handling complex problems in one standard way
Set standards pattern for coding
Logging - have a look at Log4net

Categories

Resources