TechnoApple Blogs
Practical guides, tutorials, and insights on cloud, full-stack development, and everything in between.
How to Use MongoDB TextSearch by Mongoose
2014/08/02·1 min readHow to use MongoDB text search
A Few Ways to Handle Environment Config at Express.js
2014/08/01·1 min readConfiguration for your application is very important because your testing, development, and production environments are going to have different environment variables. This blog shows a few options for using config in Node.js.
How to Get Started With Orchard to Create a Module
2014/08/01·1 min readThis blog shows how to create a HelloWorld module in Orchard, an ASP.NET MVC open source application, and how to add the module as a role at the create role page.
Few Useful Links About JavaScript Best Practices
2014/07/05·1 min readFew collections about best practices of JavaScript.
Crawl Postponed Because Robots.txt was Inaccessible
2014/07/05·2 min readWhen you see the error message "Crawl postponed because robots.txt was inaccessible" in your webmaster page, it means Google can't crawl your site due to a problem with your robots.txt. This blog explains how to troubleshoot and fix the issue.
Few Very Useful Links to Help Improve the SEO
2014/07/05·2 min readA collection of useful SEO tools and resources that can help improve your site's search engine optimization.
Code Snippet - How to do Async Programming in Node.js
2014/07/05·1 min readA short sample code to describe how to use the npm async module waterfall process. Since Node.js and Mongoose are async, if you want to process your logic sequentially, using the async module is one way.
Code Snippet - Return JSON Response for Express.js
2014/07/05·1 min readA sample code snippet for creating an API that returns a JSON object in Express.js.
Code Snippet - How to Find Items by ObjectId with Mongoose
2014/07/05·1 min readGet all records where the Ids contain a specific ObjectId with Mongoose.
How to Get Started with Mongoose
2014/06/21·1 min readThis article provides information to help you get started with Mongoose.
How to Handle 500 Errors at Express.js
2014/06/14·1 min readSample code about how to handle 500 errors at Express.js
How to Use Yeoman, Brower, Grunt, Angular.js and Node.js
2014/06/07·2 min readGet Start Yeoman, Grunt and Brower with AngularJS, NodeJS I really like work with this fast, modern web development after try a simple html template provide by Yeoman. Run the buildtask with Grunt, search additional library with Brower. All that make the web development very simple and fast. In additional withclient side technology AngularJS and backend-side NodeJS.
Set MongoDB GMT Time in C#
2014/06/07·1 min readHow to save DateTime as GMT/UTC time in MongoDB using C#.
How to Get Start by Using Express.js
2014/06/07·3 min readThis blog will show how to use Express.js default template on your local machine. Also deploy it to the cloud to verify itworking. The IDE using at this blog is Sublime Text and Cloud9 IDE.
How to Use Forever in Linux for Node.js
2014/05/31·1 min readForever is an npm package. This blog shows how to use it to keep Node.js applications running.
How to Get Started with Node.js
2014/05/31·2 min readA sample code about how to use Node.js to create a simple web server.
Code Snippet - How to Add CSS Class to Jade
2014/05/31·1 min readA quick example of how to conditionally add a CSS class to an HTML element in Jade (Pug) templates.
Code Snippet - How to Use Variable with Jade
2014/05/31·1 min readA quick example of how to use variables in Jade (Pug) templates.
How to Log All WebAPI Request Response at ASP.NET MVC
2014/05/31·1 min readExample code of logging every request, response, and exception when accessing an ASP.NET MVC 3 controller.
Few Commands about How to Export/Import MongoDB Collections
2014/05/31·1 min readThis blog shows a few commands for how to export and import MongoDB collections.
Code Snippet about T-SQL Query
2014/05/31·1 min readA sample T-SQL code snippet demonstrating CASE expressions, string concatenation, and subqueries.
Simple Code to Setup WebApi with OData
2014/05/31·1 min readThis section show how to setup OData Web api
Few Links About Convert Jade to Html and Vice Versa
2014/05/10·1 min readUseful links for converting between Jade templates and HTML markup.
Few Commands about Import/Export Mongo Database
2014/05/10·1 min readWith MongoDB's mongodump and mongorestore commands, you can export and import data to your Mongo database.
Few GUI App to Use MongoDB at Windows
2014/05/03·1 min readA list of free MongoDB management tools with GUI for Windows.
Code Snippet - How to Use Extension with Enum
2014/05/03·1 min readIn C# you sometimes need to convert an enum to an int value. This snippet shows how to create an extension method for enums.
How to Use Different Environment Config with Node.js
2014/05/03·1 min readHow to use environment config with Node.js.
Code Snippet - How to Access Query String at Node.js
2014/05/02·1 min readA code snippet showing how to access a query string in Node.js.
Few Tips for MongoDB
2014/05/02·1 min readA few MongoDB script and command notes for common operations.
Code Snippet - How to Handle Redirect within Node.js
2014/05/02·1 min readOn the Node.js server side, if you want to redirect to another URL after successfully getting a response from an API, you can use the request module.