I have just started learning asp.net webforms mvp and I'm a little confused about whether I need a service layer or if everything that was in the service layer should go into presenters.
Do I need service layers as well?
114 Views Asked by chobo At
1
There are 1 best solutions below
Related Questions in ASP.NET
- Create an IIS web request activity light
- Writing/Overwriting to specific XML file from ASP.NET code behind
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- Entity Framework Code First with Fluent API Concurrency `DbUpdateConcurrencyException` Not Raising
- Getting deeply embedded XML element values
- What is best way to check if any of the property of object is null or empty?
- NuGet - Given a type name or a DLL, how can I find the NuGet package?
- ASP-MVC Code-first migrations checkbox not active
- How do i add onclient click to my jquery button
- Jquery: Change contents of <select> tag dynamically
- Retrieving data from Oracle database
- ASP.NET: Fill Textbox field upon dropdownlist selection by user
- Why web API return 404 when deploy to IIS
Related Questions in SERVICE
- Debugging Windows Services while starting
- Error in Calling some service in WCF Client
- i want to create a service that does the login functionality?
- I run an EXE program from a Windows Service but I can't see form C#?
- Android check WIFI status (disconnected or user changed WIFI)
- Having two sequential steps running within a windows service
- Approach for performing long running tasks in .NET
- android - How to get a iBecon detection state when I kill app from Background?
- Symfony2 global function in entity
- Return more that one entity in RESTful response?
- angular unit testing $scope.$on in a service not working
- Are there drawbacks to leaving a SqlConnection open long-term?
- Android control music with headset buttons in a service
- Socket in service on Android writing to server but not reading
- What does the dot mean in Symfony service names?
Related Questions in MVP
- How to apply MVP pattern to android project
- Searching for an example of class-binding by a interface
- MVP in WinForms ( presenter & program.cs)
- Maintaining different build flavors across modules in Android Studio
- Can I create View and Presenter in different Project in MVP Pattern
- Android MVP communications
- Android: MVP. Right way to communicaticate between components
- MVP, set the view of the presenter to null on destroy?
- MVP for android. Is it worth the effort?
- Dagger 2 multiple Retrofit instances built with different URLs for hitting different APIs using constructor injection
- Android : best case for communicating adapter with Activity/Fragment
- How to data-bind my View's button to the Model, via its interface in the Presenter
- How to test second activity started in instrumentation test in MVP?
- Android. Interact with menu from Presenter
- Android MVP architecture - communication between repository and view
Related Questions in WEBFORMSMVP
- Can I create View and Presenter in different Project in MVP Pattern
- Do I need service layers as well?
- Unknown server tag in webformsmvp
- How to iterate thru collection in model to an unordered list?
- How should I unit test my WebFormMVP Presenters with Moq'd Views when using the Supervising Controller Pattern
- WebformsMVP Implement a Ninject IPresenterFactory
- Repository Pattern with Linq to SQL in WebFormsMVP
- How do I handle postback in usercontrol from button click on MasterPage
- Managing ViewState in WebFormsMVP
- ASP.NET WebFormsMVP PageDataSource Events Executing Twice For Unknown Reason
- Does anyone have an insight into ASP.NET WebFormsMVP?
- MVP ADVANTAGES OVER THREE TIER ARCHITECTURE
- Where to put View logic in MVP?
- In Webforms MVP (ASP.NET), who should set the data of dynamically created usercontrol, view or presenter?
- MVP pattern - design question
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, the MVP pattern, or MVC pattern for that matter, is strictly a presentation layer pattern. A true service layer should never exist in the presentation layer.
One of the main reasons for this is that a service layer should be able to support more than one presentation layer. Imagine you wanted to build a WPF front-end for the same data your ASP.NET MVP application is using, then if you had the service layer logic inside of the ASP.NET MVP app, then your WPF application would need to reference the web application.