How to setup a development environment for UCMA Lync bot? - c#

I have to create a Lync 2010 bot. The initial idea that I pitched for the development purposes was to create the application on my own laptop and add the application as a trusted application endpoint to the production lync server. In that way I can develop and test the bot on my machine.
But, this idea was not highly encouraged by Microsoft themselves and they recommended to create a development lab environment to develop the application. I have done my fair share of research and have come to conclusion of adding 2 VMs -
1) 1st VM will serve as the AD server. My question is, what all things/roles should be added to this server like DHCP, DNS, IIS etc.?
2) 2nd will be Lync Server. Here I will create the connection with the AD server. Again, how will the connection be done? What extra roles should this server fulfill?
3) My laptop will act as the application server and I will add my laptop and the application as an application endpoint to the Lync server. Can I create all the three things on a single VM and not worry about multiple VMs?
4) Do I need an exchange server? If yes then why?
Any help is appreciated. Thanks.

Related

Windows authentication in IIS Express over VPN

I am working on a C# .Net MVC application that uses Windows authentication. When I am in the office, on my work computer, all is well. However, the same code base on my personal laptop will not authenticate. I'm not sure what username:password combination it is looking for. I have tried both my local credentials and my work credentials. I am connected via VPN to the office and can browse network resources, connect to SQL servers, etc. I suppose to complicate matters, I log into my personal laptop using a Microsoft account (which I am considering dumping).
Is there any other info that you need? What else can I try. I can't figure out where the entry point into my code is happening to attempt a debug.

Can we deploy ASP.Net Web Applications on a Client Computer like a Software?

I have tried looking for a way in which we can deploy a web application on a clients computer like a software and of methods in which we can update that web application. I have given the whole scenario below.. Any suggestions / recommendations in best architecture to use are also welcome!
If you have 1000 Users for Your Application They all need a working local(IIS server) to run your app on browser ,as was well as a Sql server to store local data while user in offline, i think this is too expensive,...i don't have idea about any other alternative
deploy website on local iis
MSDN

Deploying ASP.NET MVC 5 Application to Win Server 2008

I would like to test my ASP.NET MVC application on my tablets and phones on my home local network.
How would I access the website from such devices?
Is it possible to deploy the application to some folder on my Win Server VM and then access the folder by typing that URL in mobile web browsers such as Safari?
Has anyone done this?
I will offer up 2 possible solutions here.
Learn how to deploy your app to a web server. Here is a microsoft article explaining how to do this at home, in a relatively quick way, and learning skills you may need in the future.
This is the best way if you need to learn more about deploying. it should get easier each time you do it:
http://www.asp.net/mvc/tutorials/deployment/visual-studio-web-deployment/deploying-to-iis
Leech off your development instance, which requires traffic to come in on localhost/127.0.0.1 which will require a traffic-redirector / port-forwarder on your host instance(your developement web server on your host instance has a 'code name', its called Cassini!, its good to know this name when researching about it...) Look at this link, and remember that your IP Address and Port number is most likely not the same as the one in the solution:
Debugging ASP.NET MVC3 application hosted on Local IIS Webserver
...dont forget about your windows firewall, too...

Client/Server Application That Can Deploy Client From Server

I have a client-server application written in c#. I am hoping someone can give some direction on where to look in order to set it up where a user could connect to the server from their workstation, most likely through http but that's not a requirement, and download the client. The mechanism would need the following features:
Check for updates on client startup and automatically apply them.
Allow multiple clients (connected to different servers) to download on the same machine
Client can be downloaded by a non-local admin
Possibly install any prerequisites needed on the workstation
I currently use ClickOnce but it isn't quite working out. Currently the server sits in IIS and uses WCF services.

Running LAN WCF service

I'm trying to create a client-server app where the server runs on the user's machine. I'm looking into either using WCF or Sockets but I have a couple of questions.
I'd like to use WCF but it seems that the user needs admin rights in order to launch the service. Would the user need admin rights if the WCF service was running within a managed application (e.g. a Windows Service)? With sockets it seems that admin rights isn't required to open the relevant port.
How would HTTPS security work in WCF? Since this is a LAN program (user talking from client to their own machine), do I need to purchase a certificate and install it on their machines? I'd rather avoid this if possible as the data being transferred isn't sensitive. Would this be the same if I use SSLStream for sockets?
There are a lot of questions, :), so very short answer on part of them:
You can host WCF even in console application. Windows Services may not require admin properties to be installed on pc.
For HTTPS - you does not have to buy certificate, you can crate your own - there are a lot of examples in the net. But - if your data is not sensitive - you can probably use simple http.

Categories