I've got a few books and helpful guides to Perl from my company's scripting guy, but I can't seem to find where the best IDE for Perl is.
Mind you, simple is better. I'm just learning for now.
We have an ASP.Net page that uses a checkbox to toggle between a list view and a tree view.
The problem is that this triggers a post. When we then click on one of the documents in the list, then press back in the browser, we get a page expired error.
Is it possible to change the action of the check box to trigger a get with a parameter?
I attempted to add a ADO.NET Entity Data Model to my Visual Web Developer 2010 Express project and it generates but returns a whole slew of errors. Why is this generating errors? Here are the main errors:
'Public Property ID As Integer' has multiple definitions with identical signatures.
Method 'Onaddress_IDChanging' cannot be declared 'Partial' because only one method 'Onaddress_IDChanging' can be marked 'Partial'.
'_line1' is already declared as 'Private _line1 As String' in this class.
My event log is flooded with this message:
Forms authentication failed for the
request. Reason: The ticket supplied
has expired.
I think this happens when people timeout instead of logout.
First of all , this is not an error, it's Type: Information
I don't want this information, how do I stop ASP.NET from logging it?
My application is not web-farmed, and uses a static machine key.
I have an ASP.NET website set up, and I'm using Google Analytics for page tracking. The only thing I don't like is that I have to go away from my site (to the Google Analytics site) to see the report.
Is there any way to show the Google Analytics data on my own site with all the AJAX that they have?
When I publish my Asp.Net MVC website to the production server (via VS2008), the web.config & castle.xml files are overwritten. The content of these files is obviously different between my local dev environment and the production server.
How do I prevent these files from being published?
I have asp.net mvc 2 application.
Now I'm reimplementing it for working with Ninject. All is fine except one thing: where should I store Ninject.dll??
I've created lib directory inside my appdir and made reference to lib/Ninject.dll.
But may be there are some general conventions on how to act in such cases?
In asp.net mvc there is ViewResult for returning a View and ActionResult for returning whatever you want, so is there some good reason why should I use ViewResult instead of ActionResult when I'm sure that I will return a View ?
Hi,
I've been using the "Publish" operation on Visual Studio 2005 and 2008 (By right-clicking a project under the Solution Explorer and selecting "Publish" on the context menu). Now I was given a ASP.Net web application to modify that was done on Visual Studio 2003. Where can I find the publish operation on Visual Studio 2003?
Thanks
I have set up my website to use ASP.NET Membership. it all works fine when trying to use it on my development machine but when I put it on the web server and try to log in, I get this error :
"Failed to update database "C:\INETPUB\WWWROOT\APP_DATA\ASPNETDB.MDF" because the database is read-only. "
Possible Duplicate:
Hidden Features of C#?
Kindly donot mistake this question with Hidden Features of C#?.
It is specific to C# 3.5 / dot net 3.5
I have figured out some(what I have used so far). They are as under
1) Linq 2(Objects, Sql, Xml)
2) Lambda expressions
3) Extention methods
4) Object initializers
5) Collection initialisers
6) Anonymous delegates
7)Automatic properties
Please help me in finding out more.
Thanks
I need to parse a binary stream in .NET to convert a 16 byte unsigned integer. I would like to use the BinaryReader.ReadUIntXX() functions but there isn't a BinaryReader.ReadUInt128() function available. I assume I will have to roll my own function using the ReadByte function and build an array but I don't know if this is the most efficient method?
Thanks!
My .NET application tries to connect to an Oracle database, but the connection fails to open because it cannot find "OraOps9.dll".
The Oracle client is installed but that DLL is not present in my Oracle Home bin\ folder (C:\oracle\ora92\bin). Where can I get this DLL?
Like most web applications you have a method that gets called when you log in.
There are a few things that may need to get done when logged in and over time this may increase. eg. logging, welcome emails, maintenance.
Should events be used to do this or is there a better way?? I'm using C# and ASP.net MVC.
work on asp.net 08 C#.I would like to develop a web application that scan documents into the following format(pdf,tiff,jpg,gif.etc) .My scanned images/file will be at client computer.
I am adding OLE objects to an excel sheet through .net interop. However, after some calls, excel is not allowing adding more objects through code. Is there a limit? or am I doing something wrong.
Dim Htmlshape As Microsoft.Office.Interop.Excel.Shape
Htmlshape = xlWorkSheet.Shapes.AddOLEObject(, tmpFile, , True, strExplorerPath, 1, "")
Running this code gives an error after say 1000 calls. So, am I crossing some limit here?
I'm a computer science student, and I'm just starting to write relatively larger programs for my coursework (between 750 - 1500 lines). Up until now, it's been possible to get by with any reasonable level of modularization and object oriented design. However, now that I'm writing more complex code for my assignments I'd like to learn to write better code.
Can anyone point me in the direction of some resources for learning about what sort of things to look for when designing your program's architecture so that you can make it as modularized as possible?
I am beginning on ASP.net MVC. All the articles I have read so far mention REST as a key feature in MVC implementation
My question: is REST mandatory for MVC implementation?
I have a page that uses routing and it works fine under Visual web developer. But when I deployed to IIS 7. The page that uses routing doesn't seem to recognize the user is logged in.
I think I read about this but had not seen it until now. Hope there is a fix!
Environment deployed too is ASP.NET 3.5 SP1, SQL SERVER 2008, and IIS 7 integrated. Thanks.
Using ASP.NET 3.5 with VB codebehind.
I don't want to use a webservice to populate an autocomplete extender on a textbox. In this case, it's where the user is entering email addresses and I don't want to make a trip to the database every single time. I'd much rather keep a collection in session state and 'bind' the autocomplete to that.
Is it possible to set ServicePath and/or ServiceMethod to something in the codebehind as opposed to a webservice?
Hi.
I'm working on multilingual Asp.NET MVC application. In url i need to use category name.
Is there any way how to convert i.e japanese text to its url safe equivalent?
Or should i use original text in url(www.example.com/??/? = www.example.com/product/car)?
In Asp.net MVC one is encouraged to derive custom ActionResults, however should these classes handle other tasks unrelated to views, perhaps a EmailActionResult would render a view then send an email. What is best practice for the class ActionResult, is it only view specific? I want to keep things DRY too. Should the sending of the email be factored into a service class? perhaps using a filter would work. what are your thoughts?