I’m working on setup authentication for an internal website recently.To protect usernames and passwords, setting up HTTPS is very necessary. Here is my first trial on HTTPS/SSL:
Step 1. Check if apache has ssl module compiled
Step 2. Compile apache if it didn’t have ssl module
Step 3. Config apache SSL
A. Load ssl module, it should already have these lines:
B. Enable httpd-ssl.conf, remove # from httpd-ssl.conf line:
C. Config pages that need force using https at VirtualHost part:
D. Config extra/httpd-ssl.conf
Until now, the HTTPS is setup for the site. But we need to have 2 files: server cert server.crt, and its private key server.key.
The official way it to request it from public SSL certificate companies, such as VeriSign, because their cert is accepted by all browser by default. But it costs a few hundred dollar per year at least.
So many companies have their self-signed cert…
View original post 264 more words
SalesForce exposes a number of WebService APIs which can be used to access objects in an organization (see here for details). In this post I’m going to show how from a C# application you can use the Partner API.
The Partner API is designed for those who want to develop applications which are agnostic to the objects in a given SalesForce account. This means that it will work for multiple organizations, which is in contrast to the Enterprise API which only works for a single organization and gives a strongly typed interface into that single organization.
I used the Partner to build an application which dynamically generates SQL Server Integration Services packages based on SalesForce meta data. You can read more about it here.
This post is for other people who are interested in accessing SalesForce via C# to retrieve metadata about objects and perform queries.
View original post 418 more words
The ideal way (and recommended by CoffeeScript junkies) to leverage CS is to write it locally, compile your .coffee files into .js files from your terminal
save the .js files as static resources, and call the resource with:
But I’m lazy and wanted to simply write CoffeeScript directly in-browser…
Check out this simple dialog window with some animations thrown in:
Some “gotchas” to consider when using CoffeeScript in Visualforce:
- Add coffee-script.js as…
View original post 65 more words