Base solution for your next web application
Open Closed

Debug Abp framework using Visual Studio #3111


User avatar
0
bilalhaidar created

Hello I would like to learn and know details of the framework. How can I do that and where to start?

Shall I debug the code when I run the Web App? Is that doable and how to do it?

I'm using aspnet zero the paid one and would like to run the Web app and start checking how the framework starts from A to Z so as to understand details and know my way through it.

Thanks a lot


10 Answer(s)
  • User Avatar
    0
    tteoh created

    Hi Bilal,

    AspNet Zero: <a class="postlink" href="https://www.aspnetzero.com/Documents/Development-Guide-Mvc-Angularjs">https://www.aspnetzero.com/Documents/De ... -Angularjs</a> <a class="postlink" href="https://www.aspnetzero.com/Documents/Developing-Step-By-Step-Mvc-Angularjs">https://www.aspnetzero.com/Documents/De ... -Angularjs</a>

    AspNet Zero is built on top of AspBoilderplate. Therefore, a lot of under the hood details are documented here: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents">http://www.aspnetboilerplate.com/Pages/Documents</a>

    One thing when debugging AspNet Zero, you can't step in ABP codes. You have to download them from GitHub or search in GitHub.

    Lastly, AspNet Zero also sits on top of another component: "module-zero", which can be found in GitHub.

    The journal of discovery continues... ;o)

    /Tommy

  • User Avatar
    0
    bilalhaidar created

    Hi Tommy, thanks for the feedback.

    My aim is to be understand how the framework works from A to Z. I have been working with the framework for 1 month now, I still feel I miss so many details and this gives an uncomfortable feeling, as with every change I want to introduce or anything to add I am always worried I will break something.

    So my idea is that if I understand how everything is registered, how components communicate, then things will be easy.

    Do you have a pattern or way of going through the framework details and learning it?

    Thanks

  • User Avatar
    0
    tteoh created

    <cite>drcgreece: </cite> Hi Tommy, thanks for the feedback.

    My aim is to be understand how the framework works from A to Z. I have been working with the framework for 1 month now, I still feel I miss so many details and this gives an uncomfortable feeling, as with every change I want to introduce or anything to add I am always worried I will break something.

    So my idea is that if I understand how everything is registered, how components communicate, then things will be easy.

    Do you have a pattern or way of going through the framework details and learning it?

    Thanks

    Hi Bilal,

    It is great to know that I m not learning alone. :D

    Check out the abp documentation, it describes on WHAT the platform is made of. As for HOW the platform is built, it offers very little details.

    For example, I had to figure out that certain implementation of AspNet Zero were part of module-zero when I failed to locate them in the boilderplate source codes.

    I started with the same thought as you but then I realize it is just not possible to learn the whole framework then only to start customization. As for implementation, I would take aspnet zero as the basis of customization. Therefore, it is expected that any future release of this template will not warrant automatic upgrade of base codes. But I m fine with this approach.

    For example, I have changed the current Email Confirmation workflow to include Account activation by inserting the codes at the specific section of existing project code files with proper comments. Probably not the best way but fatest way.

    Back to the HOW part, I can kind of comprehend your concerns. For example, UnitOfWork in ABP, given the online documentation, I am still puzzled how it actually works. Especially, how it is being applied in AspNet Zero template. I m sure would have shortened the learning curve using the template as reference.

    Perhaps, having a "class diagram", may help to paint the big picture. Something beyond my knowledge in OOP.

    Good luck! /tommy

  • User Avatar
    0
    bilalhaidar created

    We are on the same ship :-) I hope someone from the core team would guide us on this regard as to know how to go through the framework and learn a bit more about it and how the components are built together.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @drcgreece,

    As far as I know, the only way for now is using symbolsource. You can check the details here <a class="postlink" href="http://www.symbolsource.org/Public/Home/VisualStudio">http://www.symbolsource.org/Public/Home/VisualStudio</a>.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    I configured my VS to use SymbolSource, but where can I download the Abp symbol sources packages from?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can find hem under <a class="postlink" href="https://www.symbolsource.org/Public/Metadata/NuGet">https://www.symbolsource.org/Public/Metadata/NuGet</a>. For example this is for ABP <a class="postlink" href="https://www.symbolsource.org/Public/Metadata/NuGet/Project/Abp">https://www.symbolsource.org/Public/Met ... roject/Abp</a>.

    Thanks.

  • User Avatar
    0
    bilalhaidar created

    Thanks Ismail. So what's the process now if you can guide me? Where to start and be able to debug the source code?

  • User Avatar
    0
    tteoh created

    <cite>ismcagdas: </cite> Hi @drcgreece,

    As far as I know, the only way for now is using symbolsource. You can check the details here <a class="postlink" href="http://www.symbolsource.org/Public/Home/VisualStudio">http://www.symbolsource.org/Public/Home/VisualStudio</a>.

    Thanks.

    Sorry guys, pardon my lack of knowledge on this area. Why would you another debug program when it can be done with VS?

    P/s: Ismail, think it will be really useful if you would consider some sort of class diagram for abp, abp zero and aspnet zero. Even if charge a nominal fee, I believe people would pay to shorten the learning curve.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @tteoh,

    P/s: Ismail, think it will be really useful if you would consider some sort of class diagram for abp, abp zero and aspnet zero.

    Can you create an issue about it on AspNet Zero's repository ? We will consider this.

    By the way, we added source link to ABP, see <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2133">https://github.com/aspnetboilerplate/as ... ssues/2133</a>. With the next release, you will be able to debug ABP.

    Thanks.