|
I use MVC, or any other pattern, when it fits the problem.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hello,
I create web application project in VS2008.
then, Right click on the project name and add App_data folder.to organize my DAL,BLL,BO I keen on to create these folder under App_Code folder.
after right clicking the project in order to add App_Code, I can't see that folder.I follow this step
1) right click on project name.
2) Add ---> Add Asp.Net Folder
I can't see App_Code
could you please help me in this matter
|
|
|
|
|
future3839 wrote: I create web application project in VS2008.
future3839 wrote: after right clicking the project in order to add App_Code, I can't see that folder
App_Code does not apply to Web Application, it is only related with Web site projects. For web application you don't need APp_code as Codes are compiled during the build.
You can still normal folder with App_Code name in Web Application, but it will be nothing but a regular folder like other.
Please read this for your more information
http://forums.asp.net/t/1183501.aspx[^]
|
|
|
|
|
Hi everyone,
in ASP.net MVC when we add controller do we need to register it in global.asax?
thx in advance.
|
|
|
|
|
|
I have created a simple web application and published it to the local host, running fine there.
Now when i upload the same files present in the Inetpub/wwwroot folder, to my FTP Site and open the Default.aspx page, it shows the html code instead of the application.
Any Idea whats going wrong?
|
|
|
|
|
Razanust wrote: Any Idea whats going wrong?
Yes!
Razanust wrote: when i upload the same files present in the Inetpub/wwwroot folder, to my FTP Site and open the Default.aspx page, it shows the html code instead of the application
You need to host the files (uploaded on your FTP) on some webserver using IIS in order to make it work as it was when you published it in your system.
Publishing once doesn't mean you can carry along published files anywhere and it would work.
Read/Know how does a web application work - when you write 'www.codeproject.com' in your browser url, how does you see the homepage. How & What happens in between thing.
|
|
|
|
|
Razanust wrote: Now when i upload the same files present in the Inetpub/wwwroot folder, to my FTP Site and open the Default.aspx page, it shows the html code instead of the application.
You need to host your sites on IIS. I have wrote couple of articles on IIS, here is the archive links from my blog post, you may found them interesting.
http://www.codeproject.com/Articles/106504/IIS-Articles-Archives.aspx[^]
|
|
|
|
|
Hai sir
I am doing a project in ASP.net 2.0... I want to know whether the username entered by the user during the registration is available or not as the user is entering the name in the text box... I also wat to check the password strength entered by the user..al these requiremnts must be done without reloading the page or without clicking a button.. all these must be done as the user is entering the name r password at the textbox..
sorry 4 ma bad english..
.........thankz in advance....
|
|
|
|
|
Google for XMLHttpRequest or PageMethod... either of them would do. Decide based on your need/ease/understanding.
|
|
|
|
|
|
jithin917 wrote: sorry 4 ma bad english..
.........thankz in advance....
I would like to request you to come and join in General Indian Forum[^]
This forum is for those of our Indian audience who are not yet comfortable with the main forums. The purpose of the forum is to allow new Indian members to get a feel for how the site works, be guided by others, and eventually graduate to the main programming and discussion forums.
Hope you will get lots of things from that forum !
|
|
|
|
|
Hi all,
Im trying to integrate a payment system in my website. for this i have to generate, a private and a public ssl certificate. the public cert is installed on the side of the payment system and the private certificate(.p12) in my webserver.
Now when my website tries to communicate with the payment system, im getting this error:
System.Security.Cryptography.CryptographicException: Key not valid for use in specified state. at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._ExportKey(SafeKeyHandle hKey, Int32 blobType, Object cspObject) at System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(Boolean includePrivateParameters) at System.Security.Cryptography.RSA.ToXmlString(Boolean includePrivateParameters) at Datacon.iDeal.SecuritySHA.signMessage(String message, String alias)
I don't know how it comes and how to solve this issue.
Can anyone help me with this please?
Thanks in advance
|
|
|
|
|
There is native dll which executes SHGetSpecialFolderPath() it works while debugging ASP.NET but once deployed to IIS it fails to call that function.
How to increase level of trust web application calling native dlls?
Чесноков
|
|
|
|
|
Is the managed Environment.GetFolderPath() method insufficient for your needs?
|
|
|
|
|
No native Dll in C/C++ calls that method.
The problem is to allow more privileges to native Dll called from ASP.NET site.
That is not the solution to pull all methods to ASP which are not allowed to be executed from native Dll side.
In any case I solved the issue already, just correct IIS settings management for ASP application security rights 1 parameter to change. I wonder if anyone can hint it.
Чесноков
|
|
|
|
|
Sorry, I misread the question.
|
|
|
|
|
I created my website database, and i want to be able to post lots of text from the admin.aspx page.
i use asp.net SQL Server database. Now, what i want is that i heed an idea on how i could b able to post formatted text using a control that gives room for me to click on BOLD, EDIT, UnderLINE and evry other editing nd text formating function/command
|
|
|
|
|
|
i dont like de concept. pls help me wit another idea
|
|
|
|
|
Here[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I bet he will like that even less.
|
|
|
|
|
Hi everyone,
I am beginer in ASP.Net and come up with a question. when I use MVC in my project do I Must choose Linq or Entity framework? if I don't wanna use them what is other options.(As I am beginner and before to go further, have to study on other options)
thanks in advance.
|
|
|
|
|
MVC is just a pattern to describe how the objects in your application interact, and what their roles are. See here[^]
Within that pattern you Linq and the Entity Framework are just programming constructs for you to use. As the pattern has been around for many years, I can confidently say that neither are needed for implementing an MVC pattern. You have as many options as there are grains of sand.
|
|
|
|
|
Hi guys, what is the best way to check if a LIST<t> contain any elements.
I tried both:
if(ListName.Count > 0)
{
}
else
{
}
if(ListName.Any())
{
}
else
{
}
but both of these give a runtime error if there is nothing(NULL)
in the LIST<t> on the if() statement.
Please help.
Regards Morgs...
|
|
|
|