How Many Types The Authentication IIS Provided
Oct 4, 2010How many types the Authentication IIS Provided? Is Form-authentication is provided by of IIS? if no,then how it works?
View 1 RepliesHow many types the Authentication IIS Provided? Is Form-authentication is provided by of IIS? if no,then how it works?
View 1 RepliesWhat are different types of authentication and authorization and how to use authentication and authorization in asp.net.
View 1 Replies I have an application that allows admins to add types such as document types and training types that are in seperate tables with a foreign key in a transaction table.
When structuring my class I decided to go with an abstract-like pattern (without the factory methods though). So I have a Type abstract class that defines my Save, Delete, and GetList methods. I have a training type class that inherits this class. The thing is all types have 3 main properties - defined in the abstract base - but have different source tables and thus different store procedures in my DbCommand object. So basically I repeat setting up the same parameters on all the derived classes. I would like to implement the common stuff in the base but I am getting thrown off by the difference in data sources.
i Dont know how many types of asp.net websites.
ie. asp.net webiste types of categories.
Give me the deatiled Information.
looking on my servers application logs i noticed a contiuous for days now attempts to login to my sql serverReason: Password did not match that for the login provided.
View 3 RepliesI would like to build a component to play all the audio/media files(especially .flv files) using asp.net.so could you please provide me the necessary code/idea to create the component
View 1 RepliesOur internal HR application is developed by the vendor, but I've been given a requirement to change the behaviour of a certain piece of functionality without their assistance (which I don't want to do, but am investigating...). The functionality in question is an .ashx page which does a number of database lookups, and is called via javascript functions on a web page. We want to add one further database lookup.
We have control over the javascript code, so that's not a problem, but the code for the .ashx page is held in a compiled assembly. I've found where it is, and looked into it using .Net Reflector. Reimplementing the methods involved wouldn't be difficult, if it were technically feasible.
Can I create a new assembly, paste the source taken using Reflector into it, make my modifications, add the DLL to the application, and then set up a new .ashx to refer to it?
The bits I'm worried about not being possible are:
The code refers to some vendor classes held in other assemblies; can I just add references to those assemblies in Visual Studio to allow it to compile, and then when it's compiled and put on the server it'll all work?
Will I have trouble getting the web application to accept the new DLL, given that generally this application is not something we make changes to ourselves?
EDIT:
Some clarification: I'm not actually planning to replace the vendor's DLL with one of my own, that does sound like going a bit too far. Instead, I would make a new DLL with just the one function in it I need (based on stuff taken from the existing DLL using Reflector). I'd need that code to reference other utility vendor code so that it can get at classes needed to access the framework. I'd make a brand new .ashx page to serve up the code in the new DLL.
Luckily after all this I'm off the hook, because my customer agrees that things aren't desperate enough for us to attempt all this!
We got a lot of intranet websites that share the same design. Therefore we've put the master pages, stylesheet, images and javascripts in a shared assembly.
The content is loaded by using:
HostingEnvironment.RegisterVirtualPathProvider(new VirtualFilesProvider());
ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(new WebFormViewEngineWithOurVirtualPathProvider());
The problem is that Visual Studio cannot find the images or masterpage and therefore gives us a lot of warnings + that we cannot select the masterpage when creating new view pages.
Note: Everything works fine when running the websites.
In my MVC view (page) having one link button while clicking the button I need to refresh the data in two div. I have converted my link button to AjaxLink button ie
<%=Ajax.ActionLink("AjaxRefersh",
"Index",
new
AjaxOptions { UpdateTargetId =
"div1" })%>
It's providing option to give one div to refresh but I want to refresh the data in two div. Do I able to achieve this through AJAX.
I have an enum. Based upon the value brought by model, I have to check radio button. How can I do that?
[Code]....
I have an ASP.NET webservice method that returns a generics list (List'<'Construct>) serialized as JSON, using code such as this:
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ScriptService]
public class TestService : System.Web.Services.WebService {
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string GetOccupationListJSON(int SOCLevel)
{
Construct NewConstructList = new ConstructList();
DataContractJsonSerializer serializer = new DataContractJsonSerializer(ConstructList.GetType());
MemoryStream ms = new MemoryStream();
[Code]....
I assumed (from looking elsewhere) that accessing the JSON data through the index would provide me with access to the underlying object at that index, so that I can then work with it to access its properties.
However, when i=0 and I do var Construct = data[i]; I get the character at the i position of the data array ([), and in the next iteration I get the second character ({). So clearly I am accessing the elements of a string array rather than the JSON data object.How do I make sure that the data returned by the webservice gets into proper JSON format, so that I can iterate through the object elements within it?
I simply want to know how to manually check if the value a user has provided for the answer to their security question matches their current answer on record. I want to use the build in support of the ASP.Net membership and membershipuser objects.
I see that via the passwordrecovery control that the actual answer can be returned. However I am currently not using this control and it would take a good bit to integrate it as it does not meet our user's requirements.
In a worst case scenario, getting the actual answer (like the passwordrecovery control does) and manually checking it in our application would be acceptable.
A best case scenario is some sort of API where I can pass in the user name and the answer to their security question that was provided and simply get an indication of whether answer was correct or not.
I want to pass some values to price method of provided webservice, but the parameter schema is like this:
[Code]....
how I must send the price parameter value? in array or as a class?
i have to inplement a taglib(java) kind of functionality in asp.net application.I need to send parameters from the aspx file eg(<cc:displayhtmld="id1" runat="server" customparam="123"/>) and i need to write some Html base on the input provided by the user can somebody please help as to how i can do this.
View 6 RepliesI am using jquery.fancybox-1.2.1.js of fancy box in asp.net applicationQ1: In the base page i have datagrid and on combobox. on slection of combobox the datagrid is populated.From the datagrid I open the fancybox when user click on Edit link. I open new page likeIn EditProjectTask.aspx i have the controls in edible mode. Now if user closes the window using default icon provided in fancybox.then if user select some other option from combox the url changes into EditProjectTask?Task= 86Q2: #
From the # datagrid I open the fancybox when user click on Edit link. I open new page likeIn EditProjectTask.aspx i have the controls in edible mode. Now when user updates the the content I want to close the fancybox and also refresh the parent window. I have achieved this using
After update i #But it reloads all the page.Can I use some Ajax call.
Is it possible to view the code written inside DateTime.IsLeapYear()[view the code inside IsLeapYear()]?
If yes then how can one see it?
Having some strange behavior here. I have some XSLT which generates some html with a few ASP.NET Link Button Controls
String mstring = sw.ToString();
var myctrl = Page.ParseControl(mstring);
foreach (Control Control in myctrl.Controls)
[code]...
Just going to start making a web application and was wondering which was better, or at least what are the main differences between them (as it probably matters what I am using them for)?
View 3 Repliesi have a radiobutton list and i want the select statement of a SqlDataSource to change according to which radiobutton is selected. My code is as follows
[Code]....
It is giving me the following error when i put jon in the Text Box provided for searching Incorrect syntax near 'kae'. Incorrect syntax near 'Jon'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and
where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'jon''.Source Error:
[Code]....
Line 29: query = query + "WHERE ([Ufname] LIKE '%'" + txtSrch.Text + "'%')";
Line 30: SqlDataSource1.SelectCommand = query;
Line 31: SqlDataSource1.Select(DataSourceSelectArguments.Empty);
Line 32: }
Line 33:
I am using Ajaxtoolkit 3.5.I am using an autocomplete textbox extender.My problem is I have populated Country in the autocomplete textbox.I have to populate city in another dr
View 1 RepliesI have just installed SQL Server 2005. I selected windows mode authentication. I am not able to login in management studion. Now, I want to use mixed and server authentication option inplace of windows authentication. so, would that be possible after installation.
View 2 RepliesThis could be very straight forward for some of you, but I got caught up. I am doing very simple test - browsing from IIS Manager to see the default page or "under Construction", however I am being challenged to provide my login credential . When I provide my login credential, I am able to see the default page. I wanted to see the default page without providing my credential since Enable anoymous access + basic authentication I am simply wanted to see the default page asit is working on other servers except this one. I have included screen print to make sure may question is clear.
View 3 RepliesWhat's the difference between Basic Authentication and Integrated Windows Authentication in IIS?
View 3 RepliesI set authentication mode to Windows in the web.config and I enable Windows Authentication and disable the Anonymous Authentication in IIS 7 on win 7, but HttpContext.Current.User is always null.It works fine when I host the web app in IIS 6.0.
View 1 Replies'm using the AutoCompleteExtender from the AJAX control toolkit on my aspx page - I have it wired up to a WCF service that is returning a string array and everything works happily.
If I change my service definition to include a demand for the caller to be authenticated, like so:
<OperationContract(), PrincipalPermission(SecurityAction.Demand, Authenticated:=True)> _Public Function GetLookupValues(ByVal prefixText As String, ByVal count As Integer, ByVal contextKey As String) As String()
Then the autocomplete extender stops working, and I get an authentication error in the service. The service is set up to use ASPNetCompatibility mode, and I was hoping that the extender would pass the authentication credentials for my logged in user - does anyone know how to make this work?