|
In that sense you are right. But it does not mean you can't debug, it's just more annoying...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Ok. So how could I catch a break point in the code?
|
|
|
|
|
As every of your page load loads a new js file, there is no other way but re-set the breakpoints...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
how i insert google map in my asp.net project with c# project
|
|
|
|
|
|
|
Hi,
I was developed 4 applications with different login pages by using "asp.net web site administration tool 2010" and i deployed in server(IIS).
Now the requirement is like i need to create new application with common login page and home page for 4 applications. By using that common home page i need to access 4 aplications which i deployed in iis.
Thank you.
|
|
|
|
|
Hi,
What are the authentication modes used on all these 4 sites? At the top of my head you will need to create a Single-Sign-On(SSO) here.
So you will let the users logon to one site (either one of the four or a new one) and then you will need to manage the authentication using certificates to let the user use the other application seemlessly.
This is at the outset, However you will need to provide more details about the authentication modes already used in the existing apps / sites.
-Raghu
|
|
|
|
|
Hi,
Here i am sending my web.config file. We used same Authentication for 4 application.
<configuration>
<configsections>
<sectiongroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectiongroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectiongroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<appsettings>
<add key="SecurityKey" value="Syed Moshiur Murshed">
<connectionstrings>
<add name="TTS_DBConnectionString" connectionstring="Data Source=MSPWINWEBPD01;Initial Catalog=TTS_DB;Integrated Security=True" providername="System.Data.SqlClient">
<system.net>
<mailsettings>
<smtp deliverymethod="Network" from="no_reply_.lms@temple-bells.com">
<network host="owa.temple-bells.com" username="no_reply_.lms@temple-bells.com" password="Winter2012" port="25">
<system.web>
<rolemanager enabled="true" defaultprovider="DefaultRoleProvider">
<providers>
<add applicationname="/" connectionstringname="TTS_DBConnectionString" name="DefaultRoleProvider" type="System.Web.Security.SqlRoleProvider">
<membership defaultprovider="DefaultMembershipProvider">
<providers>
<add connectionstringname="TTS_DBConnectionString" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="true" applicationname="/" requiresuniqueemail="false" passwordformat="Hashed" minrequiredpasswordlength="3" minrequirednonalphanumericcharacters="0" passwordstrengthregularexpression="" name="DefaultMembershipProvider" type="System.Web.Security.SqlMembershipProvider">
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089">
<authentication mode="Forms">
<forms loginUrl="~/LoginPage.aspx"/>
<pages>
<controls>
<add tagprefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add tagprefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<httphandlers>
<remove verb="*" path="*.asmx">
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false">
<httpmodules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<location path="Presentation">
<system.web>
<authorization>
<deny users="?">
<allow roles="Manager, Employee, Asset_admin">
<deny users="*">
<deny roles="Employee">
<deny users="*">
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warninglevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<provideroption name="CompilerVersion" value="v3.5">
<provideroption name="WarnAsError" value="false">
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warninglevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<provideroption name="CompilerVersion" value="v3.5">
<provideroption name="OptionInfer" value="true">
<provideroption name="WarnAsError" value="false">
<system.webserver>
<validation validateintegratedmodeconfiguration="false">
<modules>
<remove name="ScriptModule">
<add name="ScriptModule" precondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<handlers>
<remove name="WebServiceHandlerFactory-Integrated">
<remove name="ScriptHandlerFactory">
<remove name="ScriptHandlerFactoryAppServices">
<remove name="ScriptResource">
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" precondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" precondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<add name="ScriptResource" precondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<runtime>
<assemblybinding appliesto="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentassembly>
<assemblyidentity name="System.Web.Extensions" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-1.1.0.0" newversion="3.5.0.0">
<dependentassembly>
<assemblyidentity name="System.Web.Extensions.Design" publickeytoken="31bf3856ad364e35">
<bindingredirect oldversion="1.0.0.0-1.1.0.0" newversion="3.5.0.0">
|
|
|
|
|
Hi ,
The authentication i was used for the 4 applications as in the following way..
Authentication mode="Forms"
SessionState mode="InProc" cookieless="False" timeout="30"
-->
<authentication mode="Forms">
<forms loginUrl="~/LoginPage.aspx"/>
modified 11-Mar-14 11:33am.
|
|
|
|
|
As pointed out you'll need to implement SSO (Single Sign On) in ASP.Net. If they all use Forms Authentication and they're all on the same machine then it is easy. You just need to set the MachineKey and also make sure the Forms tag has the same cookie name.
http://msdn.microsoft.com/en-us/library/dd577079.aspx[^]
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi,
How to use cookie for the Single Sign On. Can any one help at code level.
Thank you,
Hemadri.
|
|
|
|
|
What do you mean? If you have Forms Authentication then there is no need for extra code. You just have to set the Machine Key to be the same and make sure some of the settings on the Authentication tag are the same.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
how to add datepicker in gridview boundfield column..rply me on my emailid rohraheenu@gmail.com
|
|
|
|
|
|
|
HI guys I am in 4th stage software engineering and I'm working on my project currently I am facing a problem I finished my website design and security and I want to create forums with using ASP.net C# for students to ask questions find answers and share ideas is there easy way to create forums I am using visual studio with Devexpress tools
|
|
|
|
|
Your demand is a bit broad to answered here (some classes may help)...
I'm suggestion you make some Googling (there are a lot of samples) and start reading your findings...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Easy way native to ASP.Net? No, but I believe there are various prebuilt forums you can get. I would suggest searching google for asp.net forum solutions.
It's a lot of work and code to implement a forum.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hey,everyone
i want to use CrystalReport Implement Print,but it must export pdf ,i feel it is trouble,Have other methods deal it? example using PrintControl,lodop and so on, Language(asp.net (C#)) Web Print.
|
|
|
|
|
Hi guys,
First of all thanks, you guys are super helpful. I always wanted to become a coder, now i see this dream coming to reality with help of you guys.
Now, i am learning asp.net with the help of local teacher. We are going to create a new website.
Now, we "open a new website", created a master page.
However, editing this template in visual studio is nightmare.
You delete something and something else gets spaced out. However, when you see everything in webbrowser, everything comes out allright.
Is there a better way to do this? I am using 2010 VS.
1) Should i use dreamweaver first. design everything first and than, move to visual studio?
How you guys do it?
Thanks
|
|
|
|
|
I hope this is not difficult question. Can someone please answer me.
|
|
|
|
|
Please be patient, it is the weekend in most of the world, and still night in much of the west. People will answer in their own time.
|
|
|
|
|
I'm editing html since notepad with all the versions of VS (2003-2013), and never had problems like one you described here...
You may turn on/off automatic formatting. You may also turn on/off wrapping.
In general - try to play around with HTML editor settings in VS to see what fits you better...
Good luck with the 'become a coder' think anyway...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
I don't have that problem,
check your option settings under editors, and see if line wrapping is checked, and any sort of auto formatting is turned off.
I started out using Dreamweaver back in 2003, but now I just use Visual Studio for everything. I don't use the preview very much, I just run F5, and I keep refreshing the page to check how it looks, so I run the VS on the left monitor, and run 2 or 3 browsers on the right monitor and check each browser.
Don't use the asp.net objects unless you have to. Just write plain HTML in your favorite flavor. Most of the asp.net objects are useless in my opinion. Take the validator object, doesn't work half the time in a production environment.
If your making a form, you can use the Label, and textbox objects.
My rule is, unless I need them in code behind, I just use HTML Objects.
If I'm writing HTML in pure code behind, I use the asp.net HTML Objects.
|
|
|
|
|