Hi , We are developing a portal in asp.net (C#), where user can upload documents , We need to prevent the upload of Renamed files(the extensions changed Ex.xxxx.exe changed to xxxx.docx) , and Encrypted files(Password protected). Please advice . Regards, Nancy
Arokiamary
Posts
-
Prevent upload of renamed and Password protected file in asp.net C# -
Import a C# textbox value into a XSLT to generate a .aspx pageHi All, We have a C# windows application which will transform the xml and xslt we give into a .aspx page. The user has to specify the XML and the .aspx file name , we have a standard XSLT which will use the xml and create the file with the name specified by the user. The problem we face is in the .aspx page we want to write the Page attribute E.g. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" >; where we include the .aspx.cs file name , but this value comes from the C# code , how can we import the textbox value from C# code into our standard XSLT to write the page attribute in our to be generated .aspx page. Please Advice.TIA Regards, Nancy
-
Publishing a Asp.net websiteThanks for your help. We missed to set the IIS for Asp.net 2.0 :)
-
Publishing a Asp.net websiteHi All, We want to manually publish a asp.net website, We have read that .net framework 2.0 does not need any precompilation of the code to publish as a website , So we tried to publish a simple application in IIS 6.0 as a new website, we gave the right path of the file , set all the properties and the permission, but when we browse the website in IIS console itself it displays as "The Page cannot be displayed ". Can someone help us in getting the right way to create a website with the non compiled aspx code. Regards, Nancy
-
Reference a node or an element in one .xml file in anotherThanks a lot for your help :) Regards, Nancy
-
Reference a node or an element in one .xml file in anotherThanks for your help. In brief we have an xml file (kind of Master XML) which has all categories and Values for Each category Eg. Technology, Department will be categories, Technology will hold values like Technology_id and Technology_name, same for department. We have another XML(Pagewise) which describes about what controls should be in each page. E.g. Listbox, Button , Radio button. The XSLT file will use the Pagewise XML to get details about the controls and the master xml to get the details about the values to be stored in controls like Listbox. We are actually trying to create dynamic .aspx pages using XML and XSLT. Regards, Nancy
-
Reference a node or an element in one .xml file in anotherHi All, We have two .xml files, one has the details about categories and in the other .xml file we need to reference the categories. When we searched in net we found that we need to declare the categories as entities in the DTD file and use them in the xml, but we want to take the categories from the xml file only. Kindly advice. TIA Regards, Nancy
-
Customization of the Installation setup in .net framework 2.0We need to package a windows application(C#) as an installable and during the installation by the user we need to get details about the different servers like Database server name or IP and test if the server exists. If we use the standard Setup in .net we are not able to customize it as we want ,i.e. we are not able to write any code for testing the user inputs. Please Advice . TIA