SergeChel Log

  • Home
  • Resume
  • Projects
  • Articles
  • Coding
  • C Sharp
  • Gallery
  • Movies
  • TV Series
  • Music
  • Games
  • About
  • RSS feed
Home

Building Web Apps with ASP.NET Jump Start

Sat, 2013-03-02 19:00 | SergeChel

Check out  8 Hours of FREE Training Videos on developing web applications with ASP.NET

http://www.hanselman.com/blog/BuildingWebAppsWithASPNETJumpStart8HoursOf...

Login to post comments  |  Русский  |  Tags: asp.net, C Sharp, C#, coding, programming, training

C#: authentication at proxy

Sat, 2011-08-06 17:36 | SergeChel
You have to set Proxy property of your request object in order to pass through your web request.
Read more
Login to post comments  |  Tags: articles, authentication, C Sharp, C#, coding, proxy, web request

C#: basic authentication at XML web-service

Sat, 2011-07-30 10:21 | SergeChel

In order to do a basic authentication, with username and password, for your request to remote XML web-service you have to set Credentials property of request object.

Read more
Login to post comments  |  Tags: articles, authentication, C Sharp, C#, coding, soap, web request, web-service, xml

C#: send and recieve SOAP packets as plain text

Mon, 2011-10-10 09:56 | SergeChel

This is a simple example of a way to exchange plain text SOAP messages with XML web-service, without the use of OOP wrappers. This code may be refactored by removing the use of XmlDocument and XmlTextWriter classes.

Read more
  |  Tags: articles, C Sharp, C#, coding, programming, soap, web service, xml

Drupal 6: customize taxonomy lists sort order with views

Thu, 2011-07-21 13:00 | SergeChel

Drupal 6 taxonomy lists have a strict sort order: by "sticky" and by creation date. This sort order is hardcoded within the taxonomy core module and hardly can be changed by custom themes or modules. BUT we got VIEWS!

Let's see how to sort node teasers by title:

 - Go Administer -> Site building -> Views,  find taxonomy_term view, enable it, click edit link

 - select Defaults tab

Read more
Login to post comments  |  Tags: coding, drupal, drupal 6, solution

Fix for Drupal 6 dhtml_menu module error Invalid argument supplied for foreach statement

Tue, 2011-07-05 15:00 | SergeChel

This log warning is not a rare issue for those who got Drupal dhtml_menu module installed. Usually it something like:

warning: Invalid argument supplied for foreach() **** in */sites/all/modules/dhtml_menu/dhtml_menu.module on line ***.

Read more
Login to post comments  |  Tags: bug, coding, drupal, drupal 6, fix, notes

Gallery Assist for Drupal 7

Sat, 2012-01-14 18:30 | SergeChel

I've started coding my own Mod of the really popular CMS Drupal module Gallery Assist, in order to make it compatible with CMS Drupal version 7.x, because I'm using it in my web-projects, and I hope to move them to version 7 during this year.

Hope to success with this task.

Update March 30 2016: I'm back to this project - at this moment Settings section is ported, I'm working on creating and editing gallery pages.

Read more
Login to post comments  |  Tags: coding, drupal, drupal 7, Gallery Assist, php, programming, projects

Oracle: connection string without tnsnames.ora file

Fri, 2011-09-30 19:05 | SergeChel

Sometimes you have to code an Oracle connection and you don't have a way to modify tnsnames.ora. This is the way to solve this problem. Use this form of oracle connection string:

Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=MyOracleSID)));User Id=myUsername;Password=myPassword;

Login to post comments  |  Русский  |  Tags: articles, coding, oracle

Workaround on SMF error mysql_real_escape_string() expects parameter 2 to be resource, boolean given in Subs-Db-mysql.php

Thu, 2011-06-23 07:53 | SergeChel

After updating SMF forum engine to version 2.0 I've noticed unnormal grow of error log with messages like:

mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /.../smf/Sources/Subs-Db-mysql.php on line NNN

Read more
Login to post comments  |  Tags: articles, bug, coding, fix, notes, simple machines forum, smf

Languages

  • English
  • Русский

Search

www.sergechel.info