YAFLogo

caiman8
  • caiman8
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Hi, I'm new to web design and extremely new to YAF. I've got YAF working when I run my website through IIS 7. However, I can't figure out how to get it to load in Visual Studio 2008. I've extracted the .zip file into a subdirectory of my website, set up my database, and gone through the installation procedure through localhost. Works fine. And when I navigate to YAF using localhost, that works fine too.

http://wiki.yetanotherforum.net/embeddedYaf.ashx , but I just can't get anything to work. I've attempted combining the web.configs and everything and I just keep hitting roadblocks. I feel like I must be missing some fundamental bit of understanding here.

All I want is for YAF to run in Visual Studio 2008's development server. If anyone could help me out I'd be beyond appreciative.

Thanks.

Sponsor
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
I suggest you load the yetanotherforum.net.sln (Solution file) directly in VS2008. Loading it via a web site is not a good method as YAF is a compiled application -- not a web site.

You can keep your web site pointed to the \YetAnotherForum directory and when you build YAF it will automatically put all the updated files in the \YetAnotherForum\bin directory.

caiman8
  • caiman8
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
OK thanks! I've gotten YAF to load in VS2008 by loading the .sln file. However, how do I get my website to "point" to the YAF directory without loading the YAF directory into VS2008?
Kamyar
  • Kamyar
  • 100% (Exalted)
  • YAF Developer
13 years ago
When you load the .sln file, the web application is loaded too (named YAF). There's no need to do anything if you want to use the Visual Studio built in server instead of IIS. just change the db.config, set config password in app.config and fire up the site.
If at first you don’t succeed, call it version 1.0