|
May i know what is JSON? and why we go for JSON...I am working in Asp.net, whether it is related to?
Thanks in advance.
Ramkumar
|
|
|
|
|
getramonweb wrote: May i know what is JSON?
JavaScript Object Notation
getramonweb wrote: and why we go for JSON
Because it is easy to use in JavaScript
|
|
|
|
|
JSON is an acronym to JavaScript Object Notation.
It is a lightweight data-interchange format. Can be used as an alternative to XML.
In asp.net, you can use JSON as a data-interchanger format with AJAX using DataContractJsonSerializer.
|
|
|
|
|
Hello,
This is Vikash again.
This time i have query related to my web site configurations.
I have one module in my website under the App_Code folder and I have put all the .aspx pages with code-behind files and sitemap file in another folder named 'Pages'.
Also i have put the Stylesheet file in the Pages folder. Now when I run the site from VS.net 2005 it runs well, but when I Compile the site and put the compiled site in IIS and run from browser, it does not take the stylesheet styles, Can anyone tell me why this happens?
Another thing is when i put all my files under root directory, it works fine even after compiling.
I also want to know that every time I Compile my site, it by default puts the Compiled DLL files in Bin directory. I don't want to use this Bin directory and want to put the compiled files in the 'Pages' folder where all my other files are present, How can i do this?
Anyone please can give some ideas on the above issues, would be of great help.
And Thanks in Advance.
|
|
|
|
|
Dear friends
any body help me to host silverlight project from local host(Step by Step Processors).
I have got lots of link but that are not help full . that very confusing in virtual directory and MIME Type. that link are not sufficient to understand of deployment of Silver Light Project please help me
discussion with lots of people also available on this link:-
http://www.codeproject.com/script/Forums/View.aspx?fid=1004257&msg=3001645
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
What is your IIS version ?
Parwej Ahamad
|
|
|
|
|
|
liz3 wrote: Does this have something to do with the user ASPNET?
Why are you trying to do this? What is your requirement? I think there is no reason to open a IE using Process.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Dear friends,
My ASP.Net site works perfectly in local network. But after uploading in the net, session times out frequently.
I have 2 session variable.One is declared ( CompanyTitle) at Global.asax(Session_Start event), another in login page ( userName). The session variable declared in Global.asax is available in all pages, the other variable is not. It gives an error as "Object variable is not set to an instance.....". After that I declared this variable in Global.asax(Session_Start event) with "" as its default value. Now the problem is that the UserName session variable is reset into "" frequently.
my session entry in web.config is as
<sessionstate mode="InProc" cookieless="UseCookies" timeout="60" />
Please advice me on this problem.
Shivanandan C V
modified on Monday, April 13, 2009 1:32 AM
|
|
|
|
|
Shivan Nandan wrote: my session entry in web.config is as
you web.config setting is not coming properly. While posting web.config setting, make sure you have checked "Ignore HTML tags in this message (good for code snippets)" Check box.
Shivan Nandan wrote: But after uploading in the net, session times out frequently.
You want to mean after deployed into IIS?
Shivan Nandan wrote: the other variable is not. It gives an error as "Object variable is not set to an instance.....".
How did you add the value in session?
Shivan Nandan wrote: Now the problem is that the UserName session variable is reset into "" frequently.
Means you are getting the value some times and its got reset frequently. Are you using any Application Pool in IIS ? Does it recycling for any reason ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi,
After deploying also , I get the same kind of error.But now I have uploaded all files ie, aspx,aspx.cs,cs,web.config,Global.asax etc.
The first variable is added in Session_Start event, as
Session.Add("CompanyTitle","XYZ")
The other variable in
protected void btnLogin_Click(object sender, EventArgs e)
{
// value retrieval code from Database
Session["UserName"]=UserName;
}
The problem is that whenever I retrieve the session variable "UserName" in some other page, nearly after 1 minute it gives the error "Object variable not set to an instance..."
Shivanandan C V
|
|
|
|
|
Shivan Nandan wrote: The problem is that whenever I retrieve the session variable "UserName" in some other page, nearly after 1 minute it gives the error "Object variable not set to an instance..."
It means you are getting the value from session for sometimes. Yes | No ?
Did you gone through all the questions that I have asked you earlier ? What is IIS settings fro Session Time Out, What about IIS Recycling ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hosting people told that they have set it to 60 minutes. About recycling I have no idea.
Shivanandan C V
|
|
|
|
|
Shivan Nandan wrote: About recycling I have no idea.
If you are confident about your code, then problem is only with the recycling of Application Pool. Ask you hosting people to create a separate application pool for you site and assign that application pool to your site, and then test.
Good luck !!
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Thank You
Shivanandan C V
|
|
|
|
|
Hi Friends
In one of Grid View columns ("Name"), if a name exceeds certain number of characters,the rest of the characters appears on the next line. Is there any way so that the column values should appear on the same line. I tried HeaderStyle Wrap = "false" RowStyle Wrap = "false" but nothing works.
Abhishek
Mumbai, India
modified on Monday, April 13, 2009 1:02 AM
|
|
|
|
|
Is it posible to send Email from localhost ? how?
shahdat
|
|
|
|
|
MD. SHAHDAT HOSAIN wrote: Is it posible to send Email from localhost ? how?
You have to Configure SMTP in your Local System. Please go through the given links, you will get the details of how to configure SMTP in your IIS.
How to: Install and Configure SMTP Virtual Servers in IIS 6.0
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Hi,
I am working with the dropdown List but while running the application if I am trying to select the items from the DropDown List I am Getting the Following Error:
Invalid postback or callback argument. Event validation is enabled using in configuration or in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
I have faced this problem many times but I am not getting why this problem is raised.
Can anybody tell me about this problem and why is tha raised????
Thanks
|
|
|
|
|
Please Don't Cross Post.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I want to design page in Which as new user add under the parent node
and limit upto 3 node and also shows graphcal representation of node
only individual level.
can you help me regarding this problem.....
|
|
|
|
|
Hi Everyone,
I am a new programmer in the business to build websites for small companies. Now, I have a big question. How do I price an ASP.NET website? Depending on the number of pages, or anything else? Especially, when the website is dynamic and requires database, it is more difficult to estimate the price.
Now my customer (to be honest, this is my first one), wants me to build a site like http://www.letslive.co.uk/default.aspx[^]. They are also a property agency with a few stuff.
Oh, by the way, I am in Manchester, UK. It seems the price in the city is not too low.
Also, does anyone know any websites where I can get more contracts of website and software development? It would be good if it's for UK.
Thanks in advance
modified on Sunday, April 12, 2009 2:05 PM
|
|
|
|
|
rocksoccer wrote: How do I price an ASP.NET website? Depending on the number of pages, or anything else?
By the amout of work it will take to do the job. Number of pages isn't a good metric unless it is a brochure site with static content. Always remember that what ever you expect it will take will be optimistic. Developers, in my experience, are mostly optimists. One project I work with has a manual deployment process that takes 2 to 2.5 hours normally, and that is a very well defined process. Sometimes things go wrong and it will take the whole day. Software development is more dynamic thing and it will often surprise you what will crop up to make things difficult for you.
If you are going for a fixed price model make sure that all the details are locked down before you start otherwise you will end up doing a lot of amendments for free. If you lock the details down and changes are requested you will have a document that states what is in the original contract and you can negociate for additional money to make the changes.
rocksoccer wrote: Also, does anyone know any websites where I can get more contracts of website and software development? It would be good if it's for UK.
If you want a good network of contacts then you need to network. You need to meet people.
You also say that you are a new programmer. Have you considered working for someone else and learning from them. Screw up on their payroll rather than your own?
Also, if you are working on your own you will need contact with other developers to share ideas and learn from each other. As you are in Manchester I can suggest Manchester .NET User Group[^] (although they don't seem to have had any events in a while, so I don't know if they are stitll going). Alternatively NxtGenUG[^] are starting up in Cheadle. There are also various community conferences held around the UK: Developer! Developer! Developer![^]
Even if you are not on your own the ideas and things you can learn from a user group are great and you should go along anyway just to keep up with areas of software development you are not currently involved in. You never know when someone is going to ask you if you can do X, Y or Z and you want to be able to confidently that you at least know something about that area even if it requires more research to complete the job.
|
|
|
|
|
Thanks for the suggestions.
In fact I am a Master graduate last summer from Birmingham Uni. Until now I haven't got a job yet, that's why I try starting my own business. At least I can do something related to my degree.
Meeting more people is important! NxtGenUG seems to have some events around Manchester in May. Maybe I should try it.
Thanx
|
|
|
|
|
By the way, here is another excellent resource if you want to meet fellow developers: Developer Fusion UK Community Events[^]
And something I forgot about in my original email. When thinking about the amount of work that needs to be done, take into account the non-fuctional requirements too. That's the stuff the client will never ask for but needs to be done. Things like logging, backups, documentation, network infrastucture, security, etc.
Actually, the client may ask for some of these things but usually in a vague wishy-washy kind of way. For example, if you do a site that requires takes payment they'll ask for PCI compliance (if they know to ask for it) but probably won't got into specifics. From their point of view PCI compliance is a necessary evil for dealing with the major credit card companies.
Clients rarely ask that you implement logging in your application. But if things go wrong on a production site you need it there in order to see what went wrong so you can fix it.
|
|
|
|