Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm using self-implemented Authentication class for Logins and Authentication in my ASP.NET MVC 5 web application. I found out several video tutorials and posts which use Identity library in their implementation. As i'm new to MVC 5. Is it necessary to use Identity library for authentication part of development? And what are the consequences if I use self-implemented methods for authentication part of my application?
The best practice is to use the Identity libraries comes with asp.net. Implementing your own authentication mechanism is not a trivial task. Especially getting the crypto/hashing algorithms right. One consequence of bad library implementation is in case of a data breach you put all of your user passwords exposed. Some of which might be the same password they used for their bank account.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
The problem is figuring out a way of sending data / requests from an existing ASP.Net application to an ASP.Net Core.
The ASP.Net Core application is currently using version 2.0 framework.
I know there is a way of putting a window inside of an ASP.Net application, and I have already done this.
The issue is to find out a way to read requests, read GUID values and then perform the logic within the ASP.Net core application.
Suggestions please.
Thank you
There are many data transfer options, eg:
1) Both sites can look at the same database
2) They could communicate via an API
This question is very broad.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
how can I create app with Ionic2-Angular2 front-end and ASP.NET core Back-end? in same server. Also I what about multi-platform application.
Yes, you can. In ASP.NET you'll create a web API, that will be consumed from angular code. Here is how you create a web API: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api
Angular, more precisely the JavaScript which will be generated, does not "know" what kind of back end is used. There just will be an URL and the method how to access it. Your communication will probably embrace HTTP GETs and POSTs.
As long as the resource is accessible with one of the methods,
it does not matter if it is
a static file (post would not make sense in this case)
a PHP script
or ASP.NET Backend
or something else.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Environment:
.Net Framework 3.5 SP1
WebForms Application
What would be the best way to mimic url routing in a web form application with authentication in mind?
I've researched things like: WebClient class, URL Rewriting, Custom HTTP Handlers. Any insights?
I think this might help you
ASP.NET FriendlyUrls - cleaner URLs, easier Routing, and Mobile Views for ASP.NET Web Forms
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to learn about how to allow third party code integration (module development) with standard ASP.net WebForms Application as well MVC applications.
What should be taken care of when developing an ASP.net Web Application to be able to integrate custom modules?
What are the standard practices and general approach for this?
Edit:
By custom modules, it could mean something like components in Joomla CMS.
Your question is too generic to provide a meaningful reply, but modules in most cases are encapsulated in an external class, which is referenced and registered in the web application.
If you want to be able to include new modules at runtime, you can take a look at MEF and use that. Otherwise, it would be just mostly designing your application so that it can instantiate classes from external assemblies.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Let's assume I have some sort of user data, like list of user messages and some metadata (coordinates and etc.)
Right now I have to expose some API for Android clients to get/filter user data. So I am wondering what are the best practices to do that? Should I use WCF Data Services, REST WCF or Atom Feed WCF? or something else? What I need is to create really easy to use API (which is supported by some libraries) in terms of developing for Android clients and for other mobile platform in the future, like WP7.
Thanks
This can be done using KSoap2.
See this tutorial:
http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-tutorial-with.html
As Dyonisos said ksoap2, and in the server side ASP.NET web services, it should do the job. BTW there is a lot of examples on the Internet for using those two techs.
http://sarangasl.blogspot.com/2010/09/create-simple-web-service-in-visual.html
How to call a .NET web service from android?
http://bimbim.in/post/2010/10/08/Android-Calling-Web-Service-with-complex-types.aspx