Skip to main content

Home/ Groups/ Agency Oasis Developers
1More

How to group RadioButtons - 0 views

  •  
    This is the solution to using a RadioButton in a repeater and having it abide by the GroupName field
1More

Add a Script Map Handler Mapping (IIS 7) - 0 views

  •  
    "Add a Script Map Handler Mapping (IIS 7)"
4More

ASP.NET QuickStart Tutorials - 0 views

  • Securing Non-ASP.NET Files
  • ASP.NET handles requests for file extensions that are normally associated with ASP.NET, while IIS handles requests for all other file extensions. By default this means common file extensions such as .aspx and .asmx are processed by ASP.NET. This processing includes authentication and authorization to ASP.NET files. Sometimes though, a developer wants non-ASP.NET resources to be processed by ASP.NET. One reason for processing non-ASP.NET files through ASP.NET is to allow ASP.NET authentication and authorization to control access to these types of files. The combination of IIS6 on Windows Server 2003 and ASP.NET 2.0 provides the most flexibility for running the ASP.NET pipeline as part of processing a request for a non-ASP.NET resource. IIS6 includes support that allows ASP.NET 2.0 to perform authentication and authorization steps, and to then hand off the remainder of the processing of a non-ASP.NET resource back to IIS6. For example, it is possible to authenticate access to an ASP page using ASP.NET forms authentication, authorize access with ASP.NET's Url authorization and still allow the ASP ISAPI extension (asp.dll) to execute the ASP page. This support is possible because IIS6 introduced a new server support function for ISAPI extensions: HSE_REQ_EXEC_URL. Assume that a directory structure contains a mix of both ASP and ASP.NET files. The ASP.NET pages are used to log a user in with forms authentication, while the ASP pages represent the rest of the application. Using the IIS6 MMC, right-click on directory and create an application (this is the same step that is necessary when setting up a standard ASP.NET application). After an application has been created, click on the Configuration button that is located on the Directory property page. This will cause the Application Configuration dialog to be displayed. New to IIS6 is a feature called wildcard application mapping. The bottom of the Application Configuration dialog allows you to configure this feature. First determine the path for the ASP.NET ISAPI extension that processes ASP.NET files such as .aspx files. You can find this path by looking at the extensions that are listed in the Application Extensions list shown in the top half of the Application Configuration dialog. Click on the row in the list that maps the .aspx extension, and select the Edit button. In the dialog that pops up, highlight the text in the Executable textbox and copy it to the clipboard. Then cancel out of the dialog. Next, click the Insert button that is in the bottom half of the Application Configuration dialog. A dialog box titled Add/Edit Application Extension Mapping will be displayed. In the Executable text box, enter the path to the ASP.NET ISAPI extension that you copied to the clipboard earlier. The end result should look something like the screenshot below.
  • Click OK to close out all of the dialogs. Now whenever a request is made for any file, the request will first be processed by ASP.NET. If the web.config for your ASP.NET application has enabled forms authentication, an unauthenticated request for a .asp file will first trigger a redirect to the login page configured for forms authentication. After a user has successfully logged in, they will be redirected back to the original .asp page. When the now-authenticated user requests the .asp page, ASP.NET will first run through the FormsAuthenticationModule to verify that the forms authentication cookie exists and is still valid. If this check passes, ASP.NET will hand processing of the .asp page back to IIS6, at which point IIS6 will pass the request on to the ISAPI extension that normally process .asp pages. In this case the extension is asp.dll and the ASP page will then run to completion. The reason ASP.NET will pass the request back to IIS6 is that non-ASP.NET resources will fall through the list of configured <httpHandlers> to the following entry: <add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True" /> The DefaultHttpHandler is responsible for handing requests back to IIS6 for further processing.
  •  
    "Securing Non-ASP.NET Files"
1More

Properly set a Cisco router's clock and time zone - 0 views

  •  
    "Properly set a Cisco router's clock and time zone"
1More

Infragistics - User Interface Components - 0 views

  •  
    .NET controls similar to Telerik
1More

Smoothie Charts - 0 views

  •  
    Smoothie Charts is a really small charting library designed for live streaming data.
1More

elRTE - open source WYSIWYG editor for Web - 0 views

  •  
    elRTE is an open-source WYSIWYG HTML-editor written in JavaScript using jQuery UI.
1More

Spritebaker - Ridiculous easy Base64 encoding for Designers - 0 views

  •  
    A free tool for designers and web developers. It parses your css and returns a copy with all external media "baked" right into it as Base64 encoded datasets. The number of time consuming http-requests on your website is decreased significantly, resulting in a massive speed-boost (server-side gzip-compression must be enabled).
1More

CLEditor - WYSIWYG HTML Editor - 0 views

  •  
    CLEditor is an open source jQuery plugin which provides a lightweight, full featured, cross browser, extensible, WYSIWYG HTML editor that can be easily added into any web site.
1More

bxCarousel | jQuery Carousel Plugin - 0 views

  •  
    bxCarousel is an advanced, yet easy to use jQuery carousel plugin. Features: - specify number of elements to display - specify number of elements to move the slide - auto mode - previous / next controls
1More

ASP.NET forms authentication - auto login with a test account while debugging? - Stack ... - 0 views

  •  
    "ASP.NET forms authentication - auto login with a test account while debugging"
1More

Mediator Design Pattern - 0 views

  •  
    We want to design reusable components, but dependencies between the potentially reusable pieces demonstrates the "spaghetti code" phenomenon (trying to scoop a single serving results in an "all or nothing clump").
1More

Extranet.Change Password.ascx.cs in Branches/Extranetv6 - Extranet - 0 views

  •  
    "using (new SecurityDisabler()) 74 { 75 Item context = Sitecore.Context.Item; 76 context.Editing.BeginEdit(); 77 System.Web.Security.MembershipUser mUser = System.Web.Security.Membership.GetUser(user.Name); 78 mUser.ChangePassword(txtOldPassword.Text, txtNewPassword.Text); 79 context.Editing.EndEdit(); 80 } "
1More

Currency format string in asp.net - Stack Overflow - 0 views

  •  
    "string s = String.Format("{0:C}", moneyvalue);"
1More

Sitecore Link Database - 0 views

  •  
    Sometimes it is required to get all Items in the database based on a given template. Iterating through the entire database may be a very expensive operation though. However in this particular case, we can resort to the Link database. Link database is used by Sitecore to resolve all the linking issues - what referrers and what references the Item has. And if an item is based on a template, it also counts as a reference from the item to the template. The solution then is very simple: get all the referrers for a given template item.
1More

Sitecore Query Internal Architecture - 0 views

  •  
    A special thing about the queries is that they can be handled either directly in the database on the data provider level or by the data manager tier. When the query is being resolved, the data manager tries to use its data providers first and resorts to a higher level (and slower) API in case of failure.
1More

EditableGrid - Make your HTML tables editable - 0 views

  •  
    EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
1More

bMap - jQuery google maps Plugin - 0 views

  •  
    The bMap jQuery plugin allows you to quickly and easily add mapping to your website
1More

infinite, circular jQuery carousel --- CarouFredSel 2.2.2 - 0 views

  •  
    jQuery.carouFredSel is a plugin that turns any kind of HTML element into an infinite, circular carousel. It can scroll one or multiple items simultaneously, horizontal or vertical, automatically, by pressing buttons or keys on the keyboard.
« First ‹ Previous 381 - 400 Next › Last »
Showing 20 items per page