How To Create The Admin Module
Feb 19, 2011we want to create website based on asp.net and we want to update data in my site dialy. told me about admin module . is their any tutorials and screen shots for admin module
View 4 Replieswe want to create website based on asp.net and we want to update data in my site dialy. told me about admin module . is their any tutorials and screen shots for admin module
View 4 RepliesI'm looking for a tutorial or starter kit whereas I can build an admin page for my website that was built with VWD 08. I'm using the ASPNETdb for membership. My main focus is an admin page where I can reset passwords, email one or all users, search by username,etc. Does anyone know where to point me?
View 5 RepliesI want to create a module base CMS , witch way is better for create modules ? how can I install new modules after build and upload project ?
View 6 RepliesI'm creating a DNN 4.9.5 module and need to create a DLL from a WSDL (Doba API). I've created a separate Class Library project in my DNN solution with Class1.vb in it. What do I need to include in my class from the WSDL file? Obviously, I won't be going with Class1.vb, but just need a gentle push as to how to get this going.
View 2 RepliesI want to create a new module in DNN (VB) ... that;
1. does not use DAL or DAL+
2. has only one view.ascx control
3. It has to be a compiled module
I do not need DB connectivity and any bells and whistles just one view control. I thought it would be simple but googling for a day now and it seems very complicated.
I have the development environment already set up with;
1. DNN Starter kit
2. VS 2008
3. SQL server
4. DNN up and running in IIS
5. the project builds successfully
If anyone knows a way I can build a module using the DNN Dynamic Module Template in VS 2008 and then strip off the DAL and all the unnecessary layers and extra controls until I have only a working view.ascx that just prints out "Hello World!" to the screen ...
I'm trying to create an HTTP gzip/deflate module, but when I'm trying to get the Accept-Encoding header it returns null, I tried in IE8, FF, Chrome and Opera.
View 2 RepliesSometimes I need to block access on a website, but I don't want to block access for administrators so they should be able to see the website and for that I guess I need to make a module.
How can I make a module like that?
This is the code I have. I just don't know where I should place it.
var user = Membership.GetUser() as User;
if (user == null || (user != null && !user.IsAdministrator))
{
// Block
}
I want to build web pages using ASP.NET 4.0 (C#), and I want some controls to be appear for the admin role for example. And disappear for the normal user.
The question is: Is this method PERFECT? or there are many better methods to apply?
On admin side how to create first secure admin account when there is no users/admin exists without manuall entry ?On any website how we can create Super admin account who will handle all the things? Except the entry in db manually. I c# or vb.net
View 1 RepliesI may be totally missing something but I am trying to figure out how to create a new view in the Godaddy SQL Server Web Admin.
I have created views on my local machine using MS SQL Server Management Studio (SQL Server 2008), with no issue, but now I want to get that view to my SQL db hosted on Godaddy.
I'm sure it's simple, but I am totally lost.
I have a project That Is Some Ebooks project..,I want to create a dash Board,If User Register then he Login To Dashboard and he will upload some books in his admin panel..,if new user register then how to create a other Dynamic Panel..Each Admin Panel for Each User..dynamic Panel..how to create it..?Â
View 1 RepliesIs it possible to create an http module without making an entry into the web.config or GAC?
View 1 RepliesIn My Project I want to Create a Class Library Contains a Controller based on its module, Example : Class.Controllers.Album,Class.Controller.Artist
in this Class Library I wrote two Controllers AlbumController.cs, ArtistController.cs.When I add this to Main Project Contains Views,
how we can create the dynamic page ex. help.aspx and write the code in sitefinity. Because i facing a problem I create a page but i unable to know in which directory the page is lived.
[URL]
I'm looking for a way to create a login control without the use of web admin tool
Here are my system requirements
Windows 7 Visual Studio 2008 Professional Edition Microsoft SQL Server 2005 Express Edition ESET Anti-virus but SQL and Studio files excluded from being scanned. I have got a database. I've created the front end of the user login control manually not using the toolbox. Basically what I need is that once a user has registered. He then logs in. when he enters his username and password how do I code it so the database realises it's him/her and takes them to their LOGGED IN user
I am wanting to create a url rewriting module and have investigated numerous examples on the web. However, most do not address the issues of handling postbacks and querystrings. I cam across a few examples, but don't fully understand how they work and thus customizing them to my needs becomes a problem. I understand the basic concepts of rewriting, but can someone explain, or point me to a resource on how postbacks and querystrings are handled?
View 2 RepliesI have used a microsoft tool before that was allowing me to automatically generate admin web pages from database tables. By admin web pages I mean pages that allow me to do CRUD operations on my tables.
View 1 Repliesi need some lessons in how to create admin folder and pages to add user ,content ,authentication, etc
View 2 Replieshow are you able to create a admin and member folder and seperate the links from the masterpage .The login and register is not done using the asp.conf is done using a customer table
View 2 RepliesI have a form for getting user information (say a contact us form). once the data is entered and the user clicks submit, the data provided by the user should be created as a csv format file and should be mailed as an attachment to the website administrator.
View 3 RepliesI have an Admin folder which contains 4-5 aspx pages. I want to that only user with role="admin" can view those files. What settings i need in web.config?
View 1 Repliesi want to crease an admin panel. but i do not use asp.net default membership system.
i know actions enable access can be determine by [Authorize] attribute. but my admin has 10-20 controller and about 100 action.
i do not want to signature all of actions by [Authorize] attribute.
all controller must be required login if user did not login.
I found a great answer on SO describing how to set up custom user roles, and I've done the same in my project. So in my Login service I have:
public ActionResult Login() {
// password authentication stuff omitted here
var roles = GetRoles(user.Type); // returns a string e.g. "admin,user"
var authTicket = new FormsAuthenticationTicket(
1,
userName,
DateTime.Now,
DateTime.Now.AddMinutes(20), // expiry
false,
roles,
"/");
var cookie = new HttpCookie(FormsAuthentication.FormsCookieName,
FormsAuthentication.Encrypt(authTicket));
Response.Cookies.Add(cookie);
return new XmlResult(xmlDoc); // don't worry so much about this - returns XML as ActionResult
}
And in Global.asax.cs, I have (copied verbatim from the other answer):
protected void Application_AuthenticateRequest(Object sender, EventArgs e) {
var authCookie = Context.Request.Cookies[FormsAuthentication.FormsCookieName];
if (authCookie != null) {
var authTicket = FormsAuthentication.Decrypt(authCookie.Value);
var roles = authTicket.UserData.Split(new Char[] { ',' });
var userPrincipal = new GenericPrincipal(new GenericIdentity(authTicket.Name), roles);
Context.User = userPrincipal;
}
}
Then, in my ServicesController class, I have:
[Authorize(Roles = "admin")]
//[Authorize]
public ActionResult DoAdminStuff() {
...
}
I login as a user with the "admin" role, and that works. Then I call /services/doadminstuff - and I get access denied, even though when I put a breakpoint in Global.asax.cs, I can see that my roles do include "admin". If I comment out the first Authorize attribute (with roles) and just use a plain vanilla Authorize, then I can access the service.
I am working on a web application. I have two forms Webform1 and Webform2 and Module1. In webform1 and 2 I have labels, textboxes and dropdownlist. when I trying to use them in the Modules I cannot see them. Here is what I have in the ASPX page:
Public Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles DropDownList1.SelectedIndexChanged
test = DropDownList1.SelectedValue
End Sub
I want to be able to do this in the Module: Dim Test as string
Test= DropDownList1.SelectedValue
what is the best Chat Module? Audio/Video? for asp.net?
View 3 Replies