If host my WCF services in IIS7 or WPAS, is it possible to load up two or more services into the same AppDomain so that they can share static variables?
Hi - we are thinking of using SharePoint to host a web app for which we will allow internal staff and licensed external customers to access a website built on SharePoint. I am thinking that for each authenticated user (logged in) we would need an OS CAL & a SharePoint CAL & we would need a processor license for SQL Server - Is this correct & what about non-authemticatedc website "browsers"?
Any advice much appreciated.
Scenario : I have a PHP Forum and a Asp.Net site hosted on Linux and MS Hosting respectively (obvious right?!).
My domain ABC.com is currently configured with PHP host whereas my ASP.Net site is using the default 1and1 generated URL (s0987465.onlinehome.us).
So my question is, how to display ABC.com for any URL that includes s0987465.onlinehome.us?
Example : s0987465.onlinehome.us/test.aspx?id=100 should display ABC.com or ABC.com/test.aspx?id=100 in the address bar by displaying content generated by s0987465.onlinehome.us?
As per title, I'm looking for a very lightweight web server to host some WCF web services. The Web server needs to be portable to it can run from Windows, Linux or Mac.
What are my options?
It looks like you can host native code on Azure: http://msdn.microsoft.com/en-us/library/dd573362.aspx. Is it possible to run a socket server (listening tcp/udp) here? And even hosting a CLR on top?
Is it possible to know if anyone is accessing any of folders or drives in my system(32 bit windows 2003)? I mean shared folders or non-shared folders, anything. And once if we know, how to deny access to particular host. For shared folders i know how to do, but if anyone is accessing some folder with proper credentials, i don't know how to control.
I have two domain names pointing to the same ip, I am currently not using virtual host in my apache configuration. I simply use /var/www/html/ as root of the app.
do I need to buy 2 godaddy certificates, one for each domain? It seems that godaddy certificate is tied to a domain, not ip, can someone clarify?
Is there a way to access the Cassini local web server from Windows 7's XP mode?
I'm developing on the Windows 7 host machine using Cassini, but would like to test in IE6 running inside the Windows XP guest.
Im touching up an mvc2 application thats nearly complete, I have some ajax requests that end up looking alot like
www.host.com/site/controller/action?UserName=asdf&UserPassword=asdfasdf&Email=asd%40df.com&PhoneNumber=541-345-5433&CompanyName="sdf"
So my question is how (if possible) can I mask the ajax url on the redirect to simply be.. /controller/action, Im getting the feeling I broke pattern with my ajax and am stuck with nasty URLS.
any mvc2 gurus out there willing to clarify?
This is the first time I'm creating an app using Ruby on Rails.
I would like to switch the database depending on the site which is loaded. With php I used to do a simple strpos on http host, and set the database name depending on that. How can I do this with rails?
I am getting the following error when i upload the file to my host server. Same thing works fine in my machine running xampp
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home1/mobyhold/public_html/admin-arabiadc/admin/_product.php on line 1
I am looking for a reliable hosting company for a ASP.NET/SQLServer application. Any suggestion is appreciated.
My current host has been working fine till recently. It goes down almost once a week now.
I have suddenly run into an issue deploying to Heroku.
I created a new app, went to push and now see:
ssh: connect to host heroku.com port 22: Connection refused
My other previously working Heroku apps no longer work, receiving the same error.
Other Heroku commands work (create, info, db:push).
I can SSH to other services, so it doesn't look like it's my machine.
Any ideas?
I need to be able to find the IP address of the server the page is currently executing on. I have some code that calls a third party site and has to pass a specific key that changes depending on which server it is on. Is there a CGI variable or some way in ColdFusion to determine what the IP address is of the host server?
I have set driverOptions in the config file as mentioned in the doctrine DBAL documentation.
But this gives and error
1/1 InvalidConfigurationException: Unrecognized options "driverOptions" under "doctrine.dbal.connections.pdoDevCon"
My config file is
dbal:
default_connection: pdoDevCon
connections:
pdoDevCon:
driver: %dev_database_driver% # <
host: %dev_database_host% # |
port: %dev_database_port% # | Defined in
user: %dev_database_user% # |
password: %dev_database_password% # <
charset: UTF8
driverOptions: {3: 2}
mapping_types:
enum: string
set: string
orm:
auto_generate_proxy_classes: %kernel.debug%
pdoDevCon:
connection: pdoDevCon
mappings:
AcmeDemoBundle: ~
AcmeHelloBundle: ~
I am using PDO::ATTR_ERRMODE as 3 PDO::ERRMODE_EXCEPTION as 2, it does not work even if i use the strings.
We have a server component written in .Net 3.5. It runs as service on a Windows Server 2008 Standard Edition. It works great but after some time (days) we notice massive slowdowns and an increased working set. We expected some kind of memory leak and used WinDBG/SOS to analyze dumps of the process. Unfortunately the GC Heap doesn’t show any leak but we noticed that the JIT code heap has grown from 8MB after the start to more than 1GB after a few days.
We don’t use any dynamic code generation techniques by our own. We use Linq2SQL which is known for dynamic code generation but we don’t know if it can cause such a problem.
The main question is if there is any technique to analyze the dump and check where all this Host Code Heap blocks that are shown in the WinDBG dumps come from?
[Update]
In the mean time we did some more analysis and had Linq2SQL as probable suspect, especially since we do not use precompiled queries. The following example program creates exactly the same behaviour where more and more Host Code Heap blocks are created over time.
using System;
using System.Linq;
using System.Threading;
namespace LinqStressTest
{
class Program
{
static void Main(string[] args)
{
for (int i = 0; i < 100; ++ i)
ThreadPool.QueueUserWorkItem(Worker);
while(runs < 1000000)
{
Thread.Sleep(5000);
}
}
static void Worker(object state)
{
for (int i = 0; i < 50; ++i)
{
using (var ctx = new DataClasses1DataContext())
{
long id = rnd.Next();
var x = ctx.AccountNucleusInfos.Where(an => an.Account.SimPlayers.First().Id == id).SingleOrDefault();
}
}
var localruns = Interlocked.Add(ref runs, 1);
System.Console.WriteLine("Action: " + localruns);
ThreadPool.QueueUserWorkItem(Worker);
}
static Random rnd = new Random();
static long runs = 0;
}
}
When we replace the Linq query with a precompiled one, the problem seems to disappear.
The enterprise distribution in iPhone 4 beta is supposed to be easier. Companies can host their own servers with the apps instead of distributing through iTunes.
I am looking for technical information on how to do this. Can someone refer to the documentation/online details regarding this?
Thank much.
A friend of mine wants to make her favicon visible when people user Google Reader to view the RSS of her Wordpress blog. Anyone have a quick tip on how / where to make that reference? Her current web host is Bluehost, and apparently that is the "icon" people see when using Google Reader. Any suggestions would be helpful.
I'm trying to get a read on the effort level involved in building a barebones virtual instrument host in C++ or C# but I haven't been able to get any hard information. Does anybody know any good starter apps, tutorials, helper libraries for this sort of thing?
If it matters, the goal would be to a) accept incoming MIDI events and b) dispatch them to the virtual instrument. In C++ or C#, if possible.
Thanks!
Based on the IE documentation on MSDN IE 8 supports up to 6 parallel connections per server and IE 6,7 support 2.
What is the upper limit of parallel connections accross all the hosts? So if I have 60 hosts, 8 requests per host, so 360 requests in the HTML page - does it mean that IE 8 will have 360 connection in parallel and IE 6 or 7 would have 120? (ignoring the html rendering time, and if call is blocking or not)
I am hosting the WebBrowser control in C# winforms application. After clicking on a button on main page the application opens a new window and rest all the actions happens in new window. From the C# host application how can I access the Document of new browser window? The we.bbrowser's Document property still gives me the original document not the new window's document.
Any help greatly appreciated
We have built an application on the ASP.NET 4.0 platform. We need to go live in the next two weeks and I want to find a host that will offer the RTM of .NET 4.0. Any ideas of any hosts that have plans to offer the newest version shortly after Monday's launch? I see a bunch with RC1 hosting, but I can't find any hard dates for offering the RTM.
Can I send logging information to multiple syslog servers?
Our IT department has 2 syslog servers (for redundancy) and wants the application to log to both of them.
Is adding 2 lines for syslog host going to work?
I guess creating 2 separate syslog appenders (SYSLOG1, SYSLOG2) will work, but wanted to explore this path first.
Java Socket Program did not work for WAN
I have written a TCP IP socket program which works fine in my LAN.
One of my friend is at bangalore He ran the server and I ran the
client with the host name of my friend's IP. In this case my
socket program did not work.