Local Azure Search for development - azure

Is there a way to test the Azure Search in local development environment? Without actually connecting to Azure. That would work offline.
I'm thinking of a something like the Azure Storage emulator.

There is a simulator published here - https://github.com/simonedeponti/AzureSearchEmulator which exposes REST APIs, which can help you test it on your local.

Related

How can I make a functional test for a Blob

Does anybody knows how can I make a Fucntional test of a blob?
In my Controller I have a POST method, and I need to test this function but at the internet I didnĀ“t find anything
You probably don't want to test the blob service since that's an external service. If you want to test your implementation of using that service, have a look at using a Fake or Mock.
Another solution might be to Use the Azure storage emulator for development and testing.
The Microsoft Azure storage emulator provides a local environment that emulates the Azure Blob, Queue, and Table services for development purposes. Using the storage emulator, you can test your application against the storage services locally, without creating an Azure subscription or incurring any costs. When you're satisfied with how your application is working in the emulator, you can switch to using an Azure storage account in the cloud.

Can I cross develop an app for IIS and Azure?

We are starting to build out some new tech and I want to know if it is possible to cross develop a web app to run natively in Azure (ie, use Azure specific stuff like storage) but also run locally on our test servers and accommodate internal deployments natively on IIS?
I know I can host them from a dev box in a simulated Azure environment and I know that I can interface the Azure parts out and write in non-azure counterparts. It just seems like this should be a solved problem.
If you want to run Azure applications on-premises (and using non-development Azure storage), you must run a Microsoft Private Cloud. It requires special hardware and licensing costs, so don't expect it to run on what you have today.

Azure AppFabric Caching development locally

OK,
My question is pretty simple, I am developing an application to deploy on Azure but I don't want to have to pay for any Azure services while developing. There is the local compute and storage emulators, can you use Windows Server AppFabric as a stand in for the actual Azure AppFabric?
I want to be able to flip a switch that changes a release from dev to production and updates the pointers in the config files to the Azure account versus the local dev account.
Any ideas?
Thanks,
Brent
You'll need to use Windows Azure AppFabric cache. There's no local equivalent. You can use Windows Server AppFabric Cache, but it's not exactly the same thing.
With an MSDN subscription, you'll have an included 128MB cache.
You can use the recently released Windows Azure Caching (Preview) to develop and test locally
Link : http://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/

Continous Integration Server in Windows Azure

I would like use a continuous integration system in my projects. However, I don't want to use a server sitting in my office, instead I'd like my continuous integration server to run on Windows Azure. Has anyone set this up? Are there recipes to host Hudson or CruiseControl.Net (or any other CI system) within Azure?
We use the Build Manager in Team Foundation Server to push our automated builds to Azure. We set up our Azure hosted services to allow for Web Publish through remote desktop using this plugin - http://dunnry.com/blog/2010/12/20/UsingWebDeployWithWindowsAzure.aspx
You do not need to involve Team Foundation Server to use the plugin - you can set up your instances to publish to azure instantaneously through Visual Studio Web Publish without CI.
I think there are two parts to the Azure CI solution - automated builds from your source control and actually pushing the bits to azure. The plugin makes the publish to Azure much, much faster. So if you want real time access to changes on Azure, you will need to look into the plugin.
It sounds like you are trying to use Azure as an infrastructure provider, which runs a VM where your builds happen.
This is not a particularly good use-case for Azure. Azure is a platform to run your custom-built applications. While it does provide VM's similarly to Amazon or other IaaS cloud providers, those VM's are "stateless", can go up and down at will and meant to act as application servers where more than one can be up at any given time.
You can probably get this to work on an Azure VM but I am not sure if the pain would be worth it.
Azure's instances are application servers, not "windows servers".
HTH
I have installed Jenkins on Windows Azure, it works very well for me.
http://blogs.msdn.com/b/gongcheng/archive/2013/02/27/jenkins-on-windows-azure-the-missing-manual.aspx

WIndows Azure web project

I'd just like to know if its possible to deploy a web project, that usually runs on the windows azure cloud, to a normal windows server 2008 pc for testing purposes?
It depends what you're trying to test - if it's just the web app, why not map a virtual directory to the folder? If you're not using any of the Azure features (eg Queues), then can run it standalone as a normal asp.net application through IIS
No. There is no 'on premise' version of Azure and the only way you could do it is if you ran a dev environment on the server and ran the app in the Azure dev fabric.
I would suggest that for testing you should test on the cloud anyway as it is somewhat different to the local fabric. The big advantage of testing and the cloud is that you can spin up and shut down instances whenever you need, so it only costs money while you are actually testing. You might even be able to do most of your testing within the 'free' 25 hour allocation
Microsoft provide emulators to test a lot of the azure functionality locally including:
Compute emulator: very nice as allows you test app with multiple instances running
Storage Emulator: provide emulation of blob, table and queue storage
SQL Express can be used inplace of SQL azure but you need to be aware it is a superset of SQL Azure
The parts that arent emulated are:
Caching Service (very annoying really)
CDN (again a bit annoying)
So it depends on which azure services you are using as to how well you can test locally.

Resources