Is there a ASP.NET web site administration tool in IIS? - c#

I am using asp.net web site administration tool to manage the different roles in my project (currently Customer and Administrator). During the development, in vs 2008, its very easy to manage the roles. (Project -> Asp.Net configuration). How do I manage my roles and users when the system is deployed (IIS)? Is it possible to run a "asp.net web administration tool-services" on IIS?

This article describes how to create one, including the code that you can directly embed in your website:
https://web.archive.org/web/20210510020726/https://aspnet.4guysfromrolla.com/articles/053007-1.aspx
This article describes how you can run the ASP.NET configuration website administration tool on IIS:
http://blogs.msdn.com/rahulso/archive/2006/03/09/547402.aspx
Update: here's a very basic example in MVC3/Razor:
http://www.mikepope.com/blog/DisplayBlog.aspx?permalink=2240#Create_a_page_to_manage_roles

Supposedly, developers are intended to admin the site using the visual studio web site administration tool. There is no out-of-the-box web interface to front-end that stuff.

If you are using a SQL Server instance, rather than the mapped database file in APP_DATA you can use the ASP.Net configuration tool by temporarily changing the Connection String for the database to point to your live database rather than the local one - this will enable you to edit the roles/users etc.
However, it's one of those areas where you should probably look at writing/finding a tool to edit/manage these properly.

you can create an application in IIS, you just know that direction of web administration tools (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ASP.NETWebAdminFiles)
the other point that you should now is that you need two parameter in the URL.
AS an example:
http://localhost/PMIS-Security/default.aspx?applicationPhysicalPath=C:\PMIS&applicationUrl=/PMIS
applicationPhysicalPath=C:\PMIS
applicationUrl=/PMIS

You can use Servant. Get it here http://servant.io/ just install it on your server and you are good to go

Try this ASP.NET Web Site Administration Tool
http://sourceforge.net/projects/wsatudri/

Related

C# Deployment hosting a VisualSVN repository trunk as MVC website ('run' project on webserver)

Currenty I'm in the process of creating c#.net websites (mvc) with VS 2015.
Im setting up my home development environment.
I use VisualSVN for my versionmanagement.
I use VisualSVN Server for the hosting of the versionmanagement.
I want to be able to host my repository as an asp.net mvc website, so that I can see the working running version of my project/mvc website. The repository is inside a directory called trunk (only visible from SVN Server). However I dont know how this can be done.
Can anyone provide me any insights? Can it be done with IIS straight from the repository or do I need to publish from repository to IIS explicitly?
You would need to publish your source/assemblies to a server location with IIS that has a front-facing IP Address (www.mysite.com). There are some free hosting options for Asp.Net if you do a little searching or check the Microsoft spot: https://hosting.asp.net/hosting
You can setup a trigger process to update the website every time you check-in/commit code if you truly need a matching version of the website in real-time with your code commits. Although this is rarely a good idea in single-developer scenarios it might be a good workflow. Don't do this if the public/customers are accessing your site :)
Possible solution to actually hosting within VisualSVN as well: How do I browse an old revision of a Subversion repository through the web view?

Putting your website online from scratch (ASP.NET MVC + Database)

Ok. I made website (in VS 2012 ASP.NET MVC 4) and I have database on my local sql server that website uses.
Now, what do I have to do to put it online.
Is there any good tutorial that shows how to do this from scratch (there must be but I can't seem to find any).
So I want to know things like:
- what are the best hosting sites
- do they offer space for my database and how can I connect to this database from sql server or do I have to buy space for my database somewhere else...
-where to put files I get from publishing my website from VS
-etc..
Scott Hanselman has an article here to Bin deploy your MVC project to your server via FTP.
Follow next steps:
you would buy a space on Windows server via a host. Once you do this, you will get the FTP server address, username & password that you would use when Bin deploying.
Buy a domain via services like godaddy.
Link your domain to your server by changing the name server address through godaddy's control panel.
That's it. This is in short assuming you understand the basics of hosting, domain etc.
I would recommend you to check out Windows Azure. That is one of the best and easiest hosting services I have tried at least. For instance, when you create a website, you can just download the piblish profile and right click at the project in VS and choose publish. Select the publish profile that you downloaded and most of the time you are done.
Check out Troy Hunt's: worldsgreatestazuredemo and Azure Friday to get a feeling for what Windows Azure is.

Sharepoint or Webapp for simple intranet applications?

Need an advice on design approach. I spent couple of hours googling and still cannot come to a conclusion. Task at hand:
design intranet app that will have access control. Users should be given rights to access it.
C# is a preferred design language
app can be a simple form with some text fields and some fields as dropdown boxes from a DB
app will send SOAP request upon form completion
there should be a couple more forms like db search, preferably with sorting ability for columns
There is a Sharepoint I can get access to. Can it easily solve the access rights management or or should create a separate app on the same IIS or perhaps I shold request a separate IIS created and deal with access rights via DOTNET solutions? What is the quickest way to design this in your view?
Our SharePoint is 2010, and professional edition of VS2013 available for development.
Thank you
About SharePoint:
There is a permission management in SharePoint. You can set user permissions up to individual items, files and pages. You can read about it here: User permissions and permission levels in SharePoint 2013 and here: Fine-grained permission reference for SharePoint Server 2013. You can use differend authentication providers (AD, FBA, Oauth etc): Authentication, authorization, and security in SharePoint 2013.
You can create customization declaratively (no code), ะก# or javascript. There is built in object model (client and server) and web services (REST for 2013 or SOAP for 2010). More about SharePoint for developers
You can use built in form web parts or create custom with server code (C#) or with just HTML and javascript. All you can do with asp.net - you can do in SharePoint with custom web parts. But you can do most of things just with HTML and javascript.
You can request web services from server code (C#) or from javascript - just like in asp.net apps.
You can do db search with javascript or server code, using your prefer datagrid controls.
I think most easy way is using SharePoint 2013 Foundation (it's free if you have Windows Server license). And using javascript and HTML - in this way you don't need to know anything about deploying solutions in SharePoint etc. But you can do it via custom web parts - in this way you may do it like common asp.net development. But it's not a best way.

Deploy ASP.NET MVC application in IIS

I have planned to develop a web application using MVC, can any one suggest me the how easy to deploy the application on the IIS?
And also let me know the steps to that.
regards,
Satish
Just publish your application either to your server directory or locally and copy it to the the destination server. Make sure your server is configured for MVC, see below:
Using ASP.NET MVC with Different Versions of IIS
Server installation options for ASP.NET MVC 2
as rick says, and also, make sure (if IIS6) to use wildcard mapping - this needs to be added in the IIS control panel. again, our old friend google should throw up plenty of options on doing this. if you're under shared hosting, you can request it and most are happy to add it.
jim

Website Deployment

I have a ready website which is developed by me in ASP.NET with SQL Server 2005 database connectivity.
I want to know that how I can deploy my website on the internet and for this purpose which website I can access.?
You'll need to find a hosting provider that offers Windows hosting plans with ASP and SQL Server options. You'll also need to register a domain name with which to access the site - the hosting provider should be able to help with this too.
Step 1. Register your Domain.
Step 2. Consult hosting provider for web application hosting & other services needed by
your application. (For example - Version of .NET Framework, MS-SQL server database,
mail, ftp etc)
Step 3. Deploy your application.

Categories

Resources