website

asp.net web sites and default namespaces and LINQ Datacontext part 2

Let me try to ask this question from a different angle. I noticed that everytime an aspx page gets rendered in the browser using the "web site" model, a random assembly gets created 'on-the-fly' in the Temporary ASP.NET files. Analyzing the assembly in Reflector shows that the class created for any given .aspx file is under the "ASP"...

App_Code and web.config

Let's say I have a class (MyClass.cs) in App_Code (using a ASP.NET web site, not project). There's no namespace assigned to the class. How can I get that class to be valid in the web site .aspx pages? WHAT do I need to put in the web.config file and WHERE do I need to put it? Do I <add assembly tag or do I <add type ?? Since the ass...

Template error

Hi, my Rails app works fine locally. But once I put it on a server and in production mode, I get this error: ActionView::TemplateError (undefined method `each' for nil:NilClass) on line #7 of app/views/admin/confirm.rhtml: 4: <br>Description: 5: <br><%= @description %> 6: <br>Features: 7: <% @features.each do |feature| %> 8: <br><%...

What websites do you use to post temporary code snippets?

Following on the heels of What is your preferred site for code snippets, I'm looking for a website to post a short blurb of formatted code. I don't want to create a login. I'm looking for a simple: paste, use and forget. I know it exists, I've used it before, but my google skills are failing me! ...

What web photo gallery software meets all my pernickety requirements?

Hi Stackoverflow, I have a collection of photographs (about 30,000) which I'd like to put online. I've tried doing this before, over the years, with static image galleries, applications such as Gallery2, and self-rolled scripts. None have worked that well, as my requirements are fiddly, but it still seems like this should be a solved pr...

Calling a file from a website in Ruby

Hi guys, I'm trying to call resources (images, for example.) from my website to avoid constant updates. Thus far, I've tried just using this: @sprite.bitmap = Bitmap.new("http://www.minscandboo.com/minscgame/001-Title01.jpg") But, this just gives "File not found error". What is the correct method for achieving this? ...

Managing header templates?

I'm new to creating html pages etc - but am using VS 2008 just for the editing/intellisense capabilities. My problem is I have a pure HTML only website (no ASP.NET) and have a fairly extensive header that has to be used in every page. It's frustrating to change the header parts of the HTML across all pages every single time it changes...

Online service to monitor website latency?

We're using Pingdom to monitor our site availability and it's working well. Is there a similar service to monitor website latency? We want to make sure the site not only returns, but is running at a reasonable speed. We've made some internal test pages for monitoring, etc. but it'd be nice to have an external service to verify (especial...

What are the best practices for building a community site?

QUESTION: What are some best practices for building a community site? I LOVE StackOverflow. This is what I think of when I think of an online community. I have an idea for a website that educators could use. (High School Teachers, Curriculum Reviewers, College Professors, etc...) I want to build a community site simular to StackOverfl...

Website running at impossibly fast speeds?

I was pinging my website at 127.0.0.1 and I am getting a ping back at less than 1ms. How can the internet not have any latency. Can others please confirm. This problem cropped up today after I did my windows update on my web server. I noticed a new process in my task manager on the web server called AnsibleCom.exe, thoughts? ...

Is there a way to save a multi-page site with working links to PDF?

Is there a way to save a web-site that has multiple pages to PDF and have the internal links work in that they take you to the correct page in the PDF instead of taking you to the site itself? ...

Tools to compare two sites structures

Hi. Does anyone knows about any tools allowing to compare two almost exactly same websites? Simply, I have a sandbox site and production site, and would like to find out the difference between them, to know what content to move to production site. Thanks! Edit: Ok, I see I missed a critical piece of information (sorry!). The both si...

is there any role of browser cookies for static html site ?

if yes then what we can do with cookies? ...

SSL-secured website best practices

I have a website (www.mydomain.com) that is secured with an SSL certificate. It is an ASP.NET website and I have forced certain pages via code to be required to use the https:// prefix. If they don't it will redirect them to the https:// equivalent. Is this a good practice? Is there an easier way to do this? Not every single page re...

How do I run my own web server from home?

Hi, I thinking taking my website off of a shared hosting plan and hosting my own web server to save some $$$. I never hosted a website before and I’m very new to this. I’m using ASP.NET 3.5 and SQL Server 2005 Express. The laptop I will use as the web server runs on Windows XP, 1GB DDR SDRAM, a AMD Turion 64 mobile technology ML-30 / 1....

Adding a post-build event to a web site in Visual Studio 2008

I am using a "web site" in visual studio 2008, and i would like to add a post-build event which would append the build time to the web.config file. Is it possible? ...

Are there open-source "rate my X" website tools?

Not as in "hot or not" type sites, but consumer/community sites like "rate my college professor" or "rate my plumber" etc., sites where people can comment and rank things. I was just wondering if there's some kind of PHP/MySQL package which has some basics already done. It's hard to know what to search for. Oh and by the way, yes, I k...

How To Convert ASP.NET Website to ASP.NET Web Application

I have an ASP.NET 3.5 Website (visual studio lingo), but the site continues to grow and is looking rather cowboyish among other things. I'd like to see this get converted into a Web Application (namespaces and all). Is this something that can be easily done in Visual Studio? If not, are there any other tools out there that could creat...

How to use a single domain to host two different websites with different port numbers on two different physical servers?

I want to host http://somedomain.com on shared server somewhere. And I want to host http://somedomain.com:89 on my home server running Apache. What's the easiest way to set this up? ...

Hosting/transferring a web site on Google App Engine

hi there all, I have my website currently hosted on paid server, but i want to transfer it on GAE. How can i do it? Can anyone please help me in this case.I'd appreciate your help. Thanks:) ...